Commit 713aae0e authored by Jacob Vosmaer's avatar Jacob Vosmaer

Use a realistic server response

parent 4639b93e
...@@ -58,7 +58,7 @@ func TestDeniedClone(t *testing.T) { ...@@ -58,7 +58,7 @@ func TestDeniedClone(t *testing.T) {
} }
// Prepare test server and backend // Prepare test server and backend
ts := testAuthServer(403, `{"GL_ID":"user-123"}`) ts := testAuthServer(403, "Access denied")
defer ts.Close() defer ts.Close()
cmd, err := startServer(ts) cmd, err := startServer(ts)
if err != nil { if err != nil {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment