diff --git a/test/public-api/notes.e2e-spec.ts b/test/public-api/notes.e2e-spec.ts index 456d41c3c..ea2901506 100644 --- a/test/public-api/notes.e2e-spec.ts +++ b/test/public-api/notes.e2e-spec.ts @@ -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');