Skip to content

Commit

Permalink
fixes a test
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Apr 30, 2024
1 parent 57c6201 commit e640844
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions recipe/thirdpartypasswordless/signoutFeature_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,7 @@ func TestCallingAPIWithoutSessionShouldReturnOk(t *testing.T) {
if err != nil {
t.Error(err.Error())
}
assert.Equal(t, http.StatusOK, resp.StatusCode)
assert.Equal(t, 0, len(resp.Cookies()))
assert.Equal(t, "", resp.Header.Get("set-cookie"))

response := *unittesting.HttpResponseToConsumableInformation(resp.Body)
assert.Equal(t, "OK", response["status"])
assert.Equal(t, 401, resp.StatusCode)
}

func TestThatSignoutAPIreturnsTryRefreshTokenRefreshSessionAndSignoutShouldReturnOk(t *testing.T) {
Expand Down

0 comments on commit e640844

Please sign in to comment.