Fixed admin login test after refactoring
This commit is contained in:
parent
5a1c6b0015
commit
f01a7a9439
1 changed files with 2 additions and 2 deletions
|
@ -27,14 +27,14 @@ $schema->deploy;
|
||||||
|
|
||||||
$schema->resultset('User')->create({
|
$schema->resultset('User')->create({
|
||||||
email => 'admin@example.com',
|
email => 'admin@example.com',
|
||||||
hashedpassword => $t->app->generate_hashed_password('abc123'),
|
hashedpassword => 'abc123',
|
||||||
administrator => {},
|
administrator => {},
|
||||||
joindate => DateTime->now,
|
joindate => DateTime->now,
|
||||||
});
|
});
|
||||||
|
|
||||||
$schema->resultset('User')->create({
|
$schema->resultset('User')->create({
|
||||||
email => 'user@example.com',
|
email => 'user@example.com',
|
||||||
hashedpassword => $t->app->generate_hashed_password('abc123'),
|
hashedpassword => 'abc123',
|
||||||
joindate => DateTime->now,
|
joindate => DateTime->now,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Reference in a new issue