mirror of
https://github.com/strapi/strapi.git
synced 2025-12-30 00:37:24 +00:00
test: updated /init tests
This commit is contained in:
parent
0ba8bc5a98
commit
6076522305
@ -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,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user