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:
Philip Molares 2021-04-24 21:33:47 +02:00 committed by David Mehren
parent 6a4e0d96cf
commit 64e016f181
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -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');