Skip to content

Commit

Permalink
Renaming insertFixture to insertFixtureRow #14
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelgfeller committed Mar 18, 2024
1 parent 91b5af5 commit afbdde0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Traits/DatabaseSchemaTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ protected function insertFixtures(array $fixtures): void
$object = new $fixture();

foreach ($object->records as $row) {
$this->insertFixture($object->table, $row);
$this->insertFixtureRow($object->table, $row);
}
}
}
Expand All @@ -223,7 +223,7 @@ protected function insertFixtures(array $fixtures): void
*
* @return int|null last insert id of auto increment column otherwise null
*/
protected function insertFixture(string $table, array $row): ?int
protected function insertFixtureRow(string $table, array $row): ?int
{
$fields = array_keys($row);

Expand Down

0 comments on commit afbdde0

Please sign in to comment.