fixed tests
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/f78e8fb8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/f78e8fb8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/f78e8fb8 Branch: refs/heads/master Commit: f78e8fb8004f333764b46f00f06c6e6f6085ef2f Parents: 8f20dad Author: David Neuman <david.neuma...@gmail.com> Authored: Wed Dec 7 11:19:47 2016 -0700 Committer: Dan Kirkwood <dang...@gmail.com> Committed: Sun Jan 8 21:05:00 2017 -0700 ---------------------------------------------------------------------- traffic_ops/client/fixtures/delivery_service.go | 2 +- traffic_ops/client/tests/user_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/f78e8fb8/traffic_ops/client/fixtures/delivery_service.go ---------------------------------------------------------------------- diff --git a/traffic_ops/client/fixtures/delivery_service.go b/traffic_ops/client/fixtures/delivery_service.go index 8d600b3..d48879b 100644 --- a/traffic_ops/client/fixtures/delivery_service.go +++ b/traffic_ops/client/fixtures/delivery_service.go @@ -179,7 +179,7 @@ func DeliveryServiceServer() *client.DeliveryServiceServerResponse { Response: []client.DeliveryServiceServer{dss}, Size: 1, OrderBy: "foo", - Limit: "1", + Limit: 1, } } http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/f78e8fb8/traffic_ops/client/tests/user_test.go ---------------------------------------------------------------------- diff --git a/traffic_ops/client/tests/user_test.go b/traffic_ops/client/tests/user_test.go index bcddcce..478d3f1 100644 --- a/traffic_ops/client/tests/user_test.go +++ b/traffic_ops/client/tests/user_test.go @@ -26,7 +26,7 @@ import ( func TestUsers(t *testing.T) { resp := fixtures.Users() - server := testHelper.ValidHTTPServer(resp.Response) + server := testHelper.ValidHTTPServer(resp) defer server.Close() var httpClient http.Client