Skip to content
Snippets Groups Projects
Commit acb41bd8 authored by Patrick O'Doherty's avatar Patrick O'Doherty Committed by Niall Sheridan
Browse files

fix client_test.go invocations of send method

parent a5783a4e
Branches
Tags
No related merge requests found
...@@ -58,7 +58,7 @@ func TestSignGood(t *testing.T) { ...@@ -58,7 +58,7 @@ func TestSignGood(t *testing.T) {
fmt.Fprintln(w, string(j)) fmt.Fprintln(w, string(j))
})) }))
defer ts.Close() defer ts.Close()
_, err := send([]byte(`{}`), "token", ts.URL) _, err := send([]byte(`{}`), "token", ts.URL, true)
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
...@@ -86,7 +86,7 @@ func TestSignBad(t *testing.T) { ...@@ -86,7 +86,7 @@ func TestSignBad(t *testing.T) {
fmt.Fprintln(w, string(j)) fmt.Fprintln(w, string(j))
})) }))
defer ts.Close() defer ts.Close()
_, err := send([]byte(`{}`), "token", ts.URL) _, err := send([]byte(`{}`), "token", ts.URL, true)
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment