Skip to content

Commit 7dc8fe2

Browse files
committed
Changed factory file name
1 parent 528cbb0 commit 7dc8fe2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

database/factories/ProductsFactory.php renamed to database/factories/ProductFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use App\Product;
66
use Illuminate\Database\Eloquent\Factories\Factory;
77

8-
class ProductsFactory extends Factory
8+
class ProductFactory extends Factory
99
{
1010
/**
1111
* The name of the factory's corresponding model.

database/factories/RatingsFactory.php renamed to database/factories/RatingFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use App\User;
88
use Illuminate\Database\Eloquent\Factories\Factory;
99

10-
class RatingsFactory extends Factory
10+
class RatingFactory extends Factory
1111
{
1212
/**
1313
* The name of the factory's corresponding model.

0 commit comments

Comments
 (0)