1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: correct test data

This commit is contained in:
Ivar Conradi Østhus 2021-04-26 11:51:53 +02:00
parent d12dc43b8f
commit bedb28d55a
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09

View File

@ -46,7 +46,7 @@ test.afterEach(async () => {
test.serial('should create initial admin user', async t => {
await userService.initAdminUser();
await t.notThrowsAsync(userService.loginUser('admin', 'admin'));
await t.notThrowsAsync(userService.loginUser('admin', 'unleash4all'));
await t.throwsAsync(userService.loginUser('admin', 'wrong-password'));
});