0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fixed tests for logged out member session response

refs 24b2a82461
This commit is contained in:
Rishabh 2021-07-30 10:44:19 +05:30
parent 24b2a82461
commit edca10dae7

View file

@ -66,9 +66,9 @@ describe('Front-end members behaviour', function () {
.expect(400);
});
it('should error when invalid member token is passed into session', async function () {
it('should return no content for invalid token passed in session', async function () {
await request.get('/members/api/session')
.expect(400);
.expect(204);
});
it('should return no content when removing member sessions', async function () {