mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
Updated tests for member endpoint
refs https://github.com/TryGhost/Team/issues/560
refs 196cdafe6b
Last commit updated the response status for member endpoint - `/members/api/member` - from 401 to 204. This change updates the test to handle new response code.
This commit is contained in:
parent
196cdafe6b
commit
c6eafeb89b
@ -73,7 +73,7 @@ describe('Front-end members behaviour', function () {
|
||||
|
||||
it('should error for invalid member token on member data endpoint', async function () {
|
||||
await request.get('/members/api/member')
|
||||
.expect(401);
|
||||
.expect(204);
|
||||
});
|
||||
|
||||
it('should serve member site endpoint', async function () {
|
||||
|
Loading…
Reference in New Issue
Block a user