mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-18 13:48:58 +02:00
Fix
This commit is contained in:
parent
5a07deb5a5
commit
da54dc0c26
@ -9,7 +9,7 @@ import { testServerRoute, testServerSetup } from 'utils/testServer';
|
||||
const server = testServerSetup();
|
||||
|
||||
const setupApi = () => {
|
||||
testServerRoute(server, '/api/admin/ui-config');
|
||||
testServerRoute(server, '/api/admin/ui-config', {});
|
||||
};
|
||||
test('Do not show button to non admins', async () => {
|
||||
setupApi();
|
||||
|
Loading…
Reference in New Issue
Block a user