Skip to content

Commit

Permalink
Fix calls to Connection::rollBack with incorrect case (#39874)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebdesign committed Dec 2, 2021
1 parent 4c9dfc1 commit 0b0d3c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Testing/DatabaseTransactions.php
Expand Up @@ -28,7 +28,7 @@ public function beginDatabaseTransaction()
$dispatcher = $connection->getEventDispatcher();

$connection->unsetEventDispatcher();
$connection->rollback();
$connection->rollBack();
$connection->setEventDispatcher($dispatcher);
$connection->disconnect();
}
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Testing/RefreshDatabase.php
Expand Up @@ -99,7 +99,7 @@ public function beginDatabaseTransaction()
$dispatcher = $connection->getEventDispatcher();

$connection->unsetEventDispatcher();
$connection->rollback();
$connection->rollBack();
$connection->setEventDispatcher($dispatcher);
$connection->disconnect();
}
Expand Down

0 comments on commit 0b0d3c5

Please sign in to comment.