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:
parent
d12dc43b8f
commit
bedb28d55a
@ -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'));
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user