Changing test to make sure it returns the correct locked error.

This commit is contained in:
Dessalines 2020-07-27 09:42:21 -04:00
parent 87fe838d1f
commit c60b37e3c2

View file

@ -423,7 +423,7 @@ describe('main', () => {
}
).then(d => d.json());
expect(createResponse.comment).toBeUndefined();
expect(createResponse['error']).toBe('locked');
// Unlock the post for later actions
let unlockPostForm: LockPostForm = {