Explorar o código

fix TestHTTPServer in manager package

Yuxiang Zhang %!s(int64=7) %!d(string=hai) anos
pai
achega
6bca9d2cd5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      manager/server_test.go

+ 1 - 1
manager/server_test.go

@@ -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)