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 3999f5c commit 2cf90a7
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 @@ -60,7 +60,7 @@ protected function assertFixtures(array $expectedFixtureIndexes, array $actualFi
$fixture['number'] = (int) $fixture['number'];
$fixture['balance'] = (float) $fixture['balance'];

if ($fixture['born_at'] !== null && $this->getConnection()->getDriverName() !== 'oci') {
if ($fixture['born_at'] !== null && $this->getConnection()->getDriverName() === 'oci') {
$fixture['born_at'] = DateTime::createFromFormat('d-M-y', $fixture['born_at'])->format('Y-m-d');
}

Expand Down

0 comments on commit 2cf90a7

Please sign in to comment.