From 2cf90a79f39e463cf2000959d876a51d0473f700 Mon Sep 17 00:00:00 2001 From: Alexey Rogachev Date: Thu, 17 Oct 2024 19:10:54 +0500 Subject: [PATCH] Fix --- tests/Base/DataTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Base/DataTrait.php b/tests/Base/DataTrait.php index bdc96fd..146aeb8 100644 --- a/tests/Base/DataTrait.php +++ b/tests/Base/DataTrait.php @@ -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'); }