mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-26 03:04:05 +00:00
46 - A Change in Behavior
This commit is contained in:
@@ -60,3 +60,9 @@ $factory->define(App\Ticket::class, function (Faker\Generator $faker) {
|
||||
},
|
||||
];
|
||||
});
|
||||
|
||||
$factory->state(App\Ticket::class, 'reserved', function ($faker) {
|
||||
return [
|
||||
'reserved_at' => Carbon::now(),
|
||||
];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user