Skip to content

Commit a404db8

Browse files
committed
Fix tests
1 parent c0ad476 commit a404db8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Database/RealTimeFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ public function testItCanHandleManyToManyPolymorphicRelationships()
581581

582582
public function testItCanBeUsedToDefineARelationWithinAFactory()
583583
{
584-
$post = PostFactory::new()->create();
584+
$post = PostDummyFactory::new()->create();
585585

586586
$this->assertNotNull($post->user);
587587
}
@@ -746,7 +746,7 @@ class ReservedWord extends Eloquent
746746
use HasFactory;
747747
}
748748

749-
class PostFactory extends Factory
749+
class PostDummyFactory extends Factory
750750
{
751751
protected $model = Post::class;
752752

0 commit comments

Comments
 (0)