aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick O'Doherty <p@trickod.com>2016-05-28 21:28:01 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-05-29 00:14:34 +0100
commitacb41bd824cc9dec47a9b28d87bc2adc8e39a21c (patch)
treeef0ae6f5147bf717dd17963f6765196543daf8e5
parenta5783a4ea89a1a7e7469bcb75b9276d81d7b3aee (diff)
fix client_test.go invocations of send method
-rw-r--r--cmd/cashier/client_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/cashier/client_test.go b/cmd/cashier/client_test.go
index 426128c..f0176c6 100644
--- a/cmd/cashier/client_test.go
+++ b/cmd/cashier/client_test.go
@@ -58,7 +58,7 @@ func TestSignGood(t *testing.T) {
fmt.Fprintln(w, string(j))
}))
defer ts.Close()
- _, err := send([]byte(`{}`), "token", ts.URL)
+ _, err := send([]byte(`{}`), "token", ts.URL, true)
if err != nil {
t.Fatal(err)
}
@@ -86,7 +86,7 @@ func TestSignBad(t *testing.T) {
fmt.Fprintln(w, string(j))
}))
defer ts.Close()
- _, err := send([]byte(`{}`), "token", ts.URL)
+ _, err := send([]byte(`{}`), "token", ts.URL, true)
if err != nil {
t.Fatal(err)
}