fix TestHTTPServer in manager package

This commit is contained in:
Yuxiang Zhang 2018-05-29 19:07:01 +08:00
parent 4fe7d03e54
commit 6bca9d2cd5

View File

@ -125,7 +125,7 @@ func TestHTTPServer(t *testing.T) {
})
Convey("list all job status of all workers", func(ctx C) {
var ms []webMirrorStatus
var ms []WebMirrorStatus
resp, err := GetJSON(baseURL+"/jobs", &ms, nil)
So(err, ShouldBeNil)
So(resp.StatusCode, ShouldEqual, http.StatusOK)