Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arogachev committed Oct 17, 2024
1 parent 3710ab0 commit 06272ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Base/DataTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ protected function populateDatabase(): void

$db->transaction(static function (ConnectionInterface $database): void {
foreach (self::$fixtures as $fixture) {
if ($database->getDriverName() !== 'oci' && $fixture['born_at'] !== null) {
if ($database->getDriverName() === 'oci' && $fixture['born_at'] !== null) {
$fixture['born_at'] = new Expression(
"TO_DATE(:born_at, 'yyyy-mm-dd')",
[':born_at' => $fixture['born_at']],
Expand Down

0 comments on commit 06272ae

Please sign in to comment.