mirror of
https://github.com/tuna/tunasync.git
synced 2025-06-14 13:32:43 +00:00
fix TestHTTPServer in manager package
This commit is contained in:
parent
4fe7d03e54
commit
6bca9d2cd5
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user