Remove default category relationship from license factory

This commit is contained in:
Marcus Moore 2023-03-16 13:46:30 -07:00
parent a98cc01766
commit 2f0f9586b1
No known key found for this signature in database

View file

@ -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
];
}