mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-27 19:31:01 -06:00
23 lines
829 B
PHP
23 lines
829 B
PHP
<?php
|
|
|
|
/**
|
|
* Class DefaultUserSeeder
|
|
*/
|
|
class DefaultUserSeeder extends Seeder
|
|
{
|
|
public function run()
|
|
{
|
|
DB::table('users')->delete();
|
|
if (App::environment() == 'testing' || App::environment() == 'homestead') {
|
|
|
|
User::create(['email' => 'thegrumpydictator@gmail.com', 'password' => 'james', 'reset' => null, 'remember_token' => null]);
|
|
User::create(['email' => 'acceptance@example.com', 'password' => 'acceptance', 'reset' => null, 'remember_token' => null]);
|
|
User::create(['email' => 'functional@example.com', 'password' => 'functional', 'reset' => null, 'remember_token' => null]);
|
|
User::create(['email' => 'reset@example.com', 'password' => 'functional', 'reset' => 'okokokokokokokokokokokokokokokok', 'remember_token' => null]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|