Commit ec57e0de authored by Tilmann Becker's avatar Tilmann Becker Committed by Matthias Larisch

unify seed password to 'user'

parent fc770558
......@@ -151,13 +151,16 @@ If you want a bit of seed data to play with, run:
./scripts/seed
```
It will give you three users you can sign in as:
It will give you some users you can sign in as:
| email | password |
|---------------------|----------|
| user1@example.com | user1 |
| user2@example.com | user2 |
| userbot@example.com | userbot |
| email | password |
|----------------------|----------|
| user1@example.com | user |
| user2@example.com | user |
| userbot@example.com | user |
| userorga@example.com | user |
It also generates more users and data to fill the page with life (a bit at least). If you want to modify it, look at the `SeedCommand.php` file.
To stop everything again just run:
......
......@@ -61,15 +61,15 @@ class SeedCommand extends Command implements CustomCommandInterface
$bezirk_vorstand = '1373';
$ag_quiz = '341';
$I->createFoodsharer('user1', ['email' => 'user1@example.com', 'name' => 'One', 'bezirk_id' => $bezirk1]);
$user2 = $I->createFoodsaver('user2', ['email' => 'user2@example.com', 'name' => 'Two', 'bezirk_id' => $bezirk1]);
$userbot = $I->createAmbassador('userbot', [
$I->createFoodsharer('user', ['email' => 'user1@example.com', 'name' => 'One', 'bezirk_id' => $bezirk1]);
$user2 = $I->createFoodsaver('user', ['email' => 'user2@example.com', 'name' => 'Two', 'bezirk_id' => $bezirk1]);
$userbot = $I->createAmbassador('user', [
'email' => 'userbot@example.com',
'name' => 'Bot',
'bezirk_id' => $bezirk1,
'about_me_public' => 'hello!'
]);
$I->createOrga('userbot', false, ['email' => 'userorga@example.com', 'name' => 'Orga', 'bezirk_id' => $bezirk1]);
$I->createOrga('user', false, ['email' => 'userorga@example.com', 'name' => 'Orga', 'bezirk_id' => $bezirk1]);
$I->addBezirkMember($bezirk1, $userbot['id'], true);
$I->addBezirkMember($bezirk1, $user2['id']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment