mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
NotesE2ETest: Changed test for title and description
They should not return null and that's correctly tested now. Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
6a4e0d96cf
commit
64e016f181
1 changed files with 2 additions and 2 deletions
|
@ -270,8 +270,8 @@ describe('Notes', () => {
|
|||
.expect(200);
|
||||
expect(typeof metadata.body.id).toEqual('string');
|
||||
expect(metadata.body.alias).toEqual('test5');
|
||||
expect(metadata.body.title).toBeNull();
|
||||
expect(metadata.body.description).toBeNull();
|
||||
expect(metadata.body.title).toEqual('');
|
||||
expect(metadata.body.description).toEqual('');
|
||||
expect(typeof metadata.body.createTime).toEqual('string');
|
||||
expect(metadata.body.editedBy).toEqual([]);
|
||||
expect(metadata.body.permissions.owner.userName).toEqual('hardcoded');
|
||||
|
|
Loading…
Reference in a new issue