Skip to content

Commit

Permalink
fix ii
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Nov 11, 2023
1 parent 6f3fd54 commit 56a4173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TypecastingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function testType(): void
'time' => '12:00:50.000000',
'boolean' => '1',
'integer' => '2940',
'money' => 8.2,
'money' => '8.2',
'float' => 8.20234376757473,
'json' => '[1,2,3]',
],
Expand Down Expand Up @@ -337,7 +337,7 @@ public function testTypeCustom1(): void
$m->delete(1);

unset($dbData['types'][0]);
$row['money'] = 8.2; // no trailing zero is expected
$row['money'] = '8.2'; // no trailing zero is expected
$dbData['types'][2] = array_merge(['id' => '2'], $row);

self::{'assertEquals'}($dbData, $this->getDb());
Expand Down

0 comments on commit 56a4173

Please sign in to comment.