1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-18 13:48:58 +02:00
This commit is contained in:
sjaanus 2023-10-23 11:03:39 +03:00
parent 5a07deb5a5
commit da54dc0c26
No known key found for this signature in database
GPG Key ID: 20E007C0248BA7FF

View File

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