From acb41bd824cc9dec47a9b28d87bc2adc8e39a21c Mon Sep 17 00:00:00 2001 From: Patrick O'Doherty
Date: Sat, 28 May 2016 21:28:01 +0100 Subject: fix client_test.go invocations of send method --- cmd/cashier/client_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') 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) } -- cgit v1.2.3