Fixed admin login test after refactoring

This commit is contained in:
Tom Bloor 2017-04-18 22:48:00 +01:00
parent 5a1c6b0015
commit f01a7a9439

View file

@ -27,14 +27,14 @@ $schema->deploy;
$schema->resultset('User')->create({
email => 'admin@example.com',
hashedpassword => $t->app->generate_hashed_password('abc123'),
hashedpassword => 'abc123',
administrator => {},
joindate => DateTime->now,
});
$schema->resultset('User')->create({
email => 'user@example.com',
hashedpassword => $t->app->generate_hashed_password('abc123'),
hashedpassword => 'abc123',
joindate => DateTime->now,
});