Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk committed Jul 28, 2023
1 parent c0ad476 commit a404db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Database/RealTimeFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ public function testItCanHandleManyToManyPolymorphicRelationships()

public function testItCanBeUsedToDefineARelationWithinAFactory()
{
$post = PostFactory::new()->create();
$post = PostDummyFactory::new()->create();

$this->assertNotNull($post->user);
}
Expand Down Expand Up @@ -746,7 +746,7 @@ class ReservedWord extends Eloquent
use HasFactory;
}

class PostFactory extends Factory
class PostDummyFactory extends Factory
{
protected $model = Post::class;

Expand Down

0 comments on commit a404db8

Please sign in to comment.