-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -195,7 +195,8 @@ public function testChunkReturnsCorrectModels() | |
'email', | ||
'created_at', | ||
'updated_at', | ||
'laravel_through_key', ], array_keys($post->getAttributes())); | ||
'laravel_through_key', | ||
], array_keys($post->getAttributes())); | ||
}); | ||
} | ||
|
||
|
@@ -236,7 +237,8 @@ public function testCursorReturnsCorrectModels() | |
'email', | ||
'created_at', | ||
'updated_at', | ||
'laravel_through_key', ], array_keys($post->getAttributes())); | ||
'laravel_through_key', | ||
], array_keys($post->getAttributes())); | ||
} | ||
} | ||
|
||
|
@@ -255,7 +257,8 @@ public function testEachReturnsCorrectModels() | |
'email', | ||
'created_at', | ||
'updated_at', | ||
'laravel_through_key', ], array_keys($post->getAttributes())); | ||
'laravel_through_key', | ||
], array_keys($post->getAttributes())); | ||
}); | ||
} | ||
|
||
|
@@ -288,9 +291,9 @@ protected function seedData() | |
HasManyThroughTestCountry::create(['id' => 1, 'name' => 'United States of America', 'shortname' => 'us']) | ||
->users()->create(['id' => 1, 'email' => '[email protected]', 'country_short' => 'us']) | ||
->posts()->createMany([ | ||
['title' => 'A title', 'body' => 'A body', 'email' => '[email protected]'], | ||
['title' => 'Another title', 'body' => 'Another body', 'email' => '[email protected]'], | ||
]); | ||
['title' => 'A title', 'body' => 'A body', 'email' => '[email protected]'], | ||
['title' => 'Another title', 'body' => 'Another body', 'email' => '[email protected]'], | ||
]); | ||
} | ||
|
||
protected function seedDataExtended() | ||
|
@@ -319,11 +322,11 @@ protected function seedDataExtended() | |
protected function seedDefaultData() | ||
{ | ||
HasManyThroughDefaultTestCountry::create(['id' => 1, 'name' => 'United States of America']) | ||
->users()->create(['id' => 1, 'email' => '[email protected]']) | ||
->posts()->createMany([ | ||
['title' => 'A title', 'body' => 'A body'], | ||
['title' => 'Another title', 'body' => 'Another body'], | ||
]); | ||
->users()->create(['id' => 1, 'email' => '[email protected]']) | ||
->posts()->createMany([ | ||
['title' => 'A title', 'body' => 'A body'], | ||
['title' => 'Another title', 'body' => 'Another body'], | ||
]); | ||
} | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters