Skip to content

Commit

Permalink
#157 test fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloelcolombiano committed May 27, 2022
1 parent 26377e1 commit 0b94572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/Factory/BaseFactoryAssociationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public function testGetAssociatedFactoryWithMultipleDepthAndMultipleTimes()
$n = 10;
$country = 'Foo';
$path = 'BusinessAddress.City.Country';
$authors = AuthorFactory::make($n)->with($country)->persist();
$authors = AuthorFactory::make($n)->with($path, $country)->persist();

for ($i = 0; $i < $n; $i++) {
$this->assertInstanceOf(Country::class, $authors[$i]->business_address->city->country);
Expand Down

0 comments on commit 0b94572

Please sign in to comment.