Skip to content

Commit 56a4173

Browse files
committed
fix ii
1 parent 6f3fd54 commit 56a4173

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/TypecastingTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function testType(): void
9999
'time' => '12:00:50.000000',
100100
'boolean' => '1',
101101
'integer' => '2940',
102-
'money' => 8.2,
102+
'money' => '8.2',
103103
'float' => 8.20234376757473,
104104
'json' => '[1,2,3]',
105105
],
@@ -337,7 +337,7 @@ public function testTypeCustom1(): void
337337
$m->delete(1);
338338

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

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

0 commit comments

Comments
 (0)