mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-26 11:14:06 +00:00
153 - Testing a Console Command
This commit is contained in:
@@ -80,5 +80,8 @@ $factory->define(App\Order::class, function (Faker\Generator $faker) {
|
||||
});
|
||||
|
||||
$factory->define(App\Invitation::class, function (Faker\Generator $faker) {
|
||||
return [];
|
||||
return [
|
||||
'email' => 'somebody@example.com',
|
||||
'code' => 'TESTCODE1234',
|
||||
];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user