From eb5c48b58d72d04abb093fceb32db842ec7ab5fb Mon Sep 17 00:00:00 2001 From: Sam Light Date: Sat, 18 Jan 2025 20:17:47 +0000 Subject: Setup testing --- workbench/database/factories/ProductFactory.php | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 workbench/database/factories/ProductFactory.php (limited to 'workbench/database/factories/ProductFactory.php') diff --git a/workbench/database/factories/ProductFactory.php b/workbench/database/factories/ProductFactory.php new file mode 100644 index 0000000..4131cb2 --- /dev/null +++ b/workbench/database/factories/ProductFactory.php @@ -0,0 +1,33 @@ + + */ +class ProductFactory extends Factory +{ + /** + * The name of the factory's corresponding model. + * + * @var class-string + */ + protected $model = Product::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition(): array + { + return [ + // + ]; + } +} -- cgit v1.2.3