From 2f0f9586b1840651e1f724ebb3b3ff1191386040 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Thu, 16 Mar 2023 13:46:30 -0700 Subject: [PATCH] Remove default category relationship from license factory --- database/factories/LicenseFactory.php | 1 - 1 file changed, 1 deletion(-) diff --git a/database/factories/LicenseFactory.php b/database/factories/LicenseFactory.php index 8a7a4ee770..cc58d58c9f 100644 --- a/database/factories/LicenseFactory.php +++ b/database/factories/LicenseFactory.php @@ -57,7 +57,6 @@ class LicenseFactory extends Factory 'reassignable' => $this->faker->boolean(), 'termination_date' => $this->faker->dateTimeBetween('-1 years', 'now', date_default_timezone_get())->format('Y-m-d H:i:s'), 'supplier_id' => Supplier::factory(), - 'category_id' => Category::where('category_type', '=', 'license')->inRandomOrder()->first()->id ]; }