Skip to content

Commit

Permalink
remove code that will not be executed
Browse files Browse the repository at this point in the history
Signed-off-by: sellskin <[email protected]>
  • Loading branch information
sellskin committed Mar 25, 2024
1 parent bb29a0e commit 619c12c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions management/middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,11 @@ func testRequest(t *testing.T, ts *httptest.Server, method, path string, body io
req, err := http.NewRequest(method, ts.URL+path, body)
if err != nil {
t.Fatal(err)
return nil, nil
}

resp, err := ts.Client().Do(req)
if err != nil {
t.Fatal(err)
return nil, nil
}
var claims managementErrorResponse
err = json.NewDecoder(resp.Body).Decode(&claims)
Expand Down

0 comments on commit 619c12c

Please sign in to comment.