test: updated /init tests

This commit is contained in:
vincentbpro 2022-04-25 10:14:02 +02:00
parent 0ba8bc5a98
commit 6076522305

View File

@ -31,6 +31,9 @@ describe('Admin Controller', () => {
user: {
exists: jest.fn(() => true),
},
'project-settings': {
getProjectSettings: jest.fn(() => ({ menuLogo: null })),
},
},
},
};
@ -45,6 +48,7 @@ describe('Admin Controller', () => {
expect(result.data).toStrictEqual({
uuid: 'foo',
hasAdmin: true,
menuLogo: null,
});
});
});