Ver código fonte

fix TestHTTPServer in manager package

Yuxiang Zhang 7 anos atrás
pai
commit
6bca9d2cd5
1 arquivos alterados com 1 adições e 1 exclusões
  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)