simple DataFactory
This commit is contained in:
@@ -17,14 +17,14 @@ class DeviceFactory extends Factory
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'device_id' => '1',
|
||||
'title' => 'Test Device One',
|
||||
'device_type' => 'type1',
|
||||
'description' => 'des',
|
||||
'accessories' => 'acc',
|
||||
'rz_username_buyer' => 'rzb',
|
||||
'serial_number' => '123',
|
||||
'image_url' => 'www.url.de'
|
||||
'device_id' => $this->faker->randomDigitNotNull(),
|
||||
'title' => $this->faker->word(),
|
||||
'device_type' => $this->faker->domainWord(),
|
||||
'description' => $this->faker->sentence(),
|
||||
'accessories' => $this->faker->word(),
|
||||
'rz_username_buyer' => $this->faker->name(),
|
||||
'serial_number' => $this->faker->creditCardNumber(),
|
||||
'image_url' => $this->faker->url()
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user