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/7f881974
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/7f881974
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/7f881974

Branch: refs/heads/psql-rebase
Commit: 7f881974dcbfd4187f51f41b9f99371137d5b570
Parents: 3ea73b2
Author: David Neuman <david.neuma...@gmail.com>
Authored: Wed Dec 7 11:19:47 2016 -0700
Committer: David Neuman <david.neuma...@gmail.com>
Committed: Wed Dec 7 11:19:47 2016 -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/7f881974/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/7f881974/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

Reply via email to