Changing test to make sure it returns the correct locked error.
This commit is contained in:
parent
87fe838d1f
commit
c60b37e3c2
1 changed files with 1 additions and 1 deletions
2
ui/src/api_tests/api.spec.ts
vendored
2
ui/src/api_tests/api.spec.ts
vendored
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue