aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-05-22 01:07:19 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-05-22 01:07:19 +0100
commit1b21181bda148118b56221fe35b8dac3cd40bb50 (patch)
tree84a97cb64ccbb16a80683cc2f6328beb566aca68 /client
parent1ca20e5b7a5fa803aced63ddaedf52d1064ce43a (diff)
fix test
Diffstat (limited to 'client')
-rw-r--r--client/client_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/client_test.go b/client/client_test.go
index 7cb1184..492f4fc 100644
--- a/client/client_test.go
+++ b/client/client_test.go
@@ -58,7 +58,7 @@ func TestSignGood(t *testing.T) {
fmt.Fprintln(w, string(j))
}))
defer ts.Close()
- *url = ts.URL
+ *ca = ts.URL
_, err := send([]byte(`{}`), "token")
if err != nil {
t.Fatal(err)
@@ -83,7 +83,7 @@ func TestSignBad(t *testing.T) {
fmt.Fprintln(w, string(j))
}))
defer ts.Close()
- *url = ts.URL
+ *ca = ts.URL
_, err := send([]byte(`{}`), "token")
if err != nil {
t.Fatal(err)