Skip to content

Commit e640844

Browse files
committed
fixes a test
1 parent 57c6201 commit e640844

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

recipe/thirdpartypasswordless/signoutFeature_test.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,7 @@ func TestCallingAPIWithoutSessionShouldReturnOk(t *testing.T) {
280280
if err != nil {
281281
t.Error(err.Error())
282282
}
283-
assert.Equal(t, http.StatusOK, resp.StatusCode)
284-
assert.Equal(t, 0, len(resp.Cookies()))
285-
assert.Equal(t, "", resp.Header.Get("set-cookie"))
286-
287-
response := *unittesting.HttpResponseToConsumableInformation(resp.Body)
288-
assert.Equal(t, "OK", response["status"])
283+
assert.Equal(t, 401, resp.StatusCode)
289284
}
290285

291286
func TestThatSignoutAPIreturnsTryRefreshTokenRefreshSessionAndSignoutShouldReturnOk(t *testing.T) {

0 commit comments

Comments
 (0)