Skip to content

Commit

Permalink
fix(projects): fix test using new response format
Browse files Browse the repository at this point in the history
  • Loading branch information
noetarbouriech committed Jul 10, 2023
1 parent 94f2fc7 commit 70b9e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/auth/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TestLogin(t *testing.T) {
}

// Send a mock response
response := `{"accessToken":"mockAccessToken"}`
response := `{"status":"OK","content":{"accessToken":"mockAccessToken"}}`
w.WriteHeader(http.StatusOK)
w.Write([]byte(response))
}))
Expand Down

0 comments on commit 70b9e4a

Please sign in to comment.