File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace LaravelDoctrine \ORM \Testing \Factories ;
4
4
5
- trait HasFactory
5
+ trait HasEntityFactory
6
6
{
7
7
/**
8
8
* Get a new factory instance for the model.
Original file line number Diff line number Diff line change 8
8
use Illuminate \Container \Container ;
9
9
use Illuminate \Database \Eloquent \Factories \CrossJoinSequence ;
10
10
use LaravelDoctrine \ORM \Testing \Factories \Factory ;
11
- use LaravelDoctrine \ORM \Testing \Factories \HasFactory ;
11
+ use LaravelDoctrine \ORM \Testing \Factories \HasEntityFactory ;
12
12
use Mockery \Adapter \Phpunit \MockeryTestCase ;
13
13
14
14
class FactoriesTest extends MockeryTestCase
@@ -234,7 +234,7 @@ public function test_cross_join_sequences()
234
234
*/
235
235
class FactoriesEntityStub
236
236
{
237
- use HasFactory ;
237
+ use HasEntityFactory ;
238
238
239
239
protected static function newFactory ()
240
240
{
You can’t perform that action at this time.
0 commit comments