We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f3fd54 commit 56a4173Copy full SHA for 56a4173
tests/TypecastingTest.php
@@ -99,7 +99,7 @@ public function testType(): void
99
'time' => '12:00:50.000000',
100
'boolean' => '1',
101
'integer' => '2940',
102
- 'money' => 8.2,
+ 'money' => '8.2',
103
'float' => 8.20234376757473,
104
'json' => '[1,2,3]',
105
],
@@ -337,7 +337,7 @@ public function testTypeCustom1(): void
337
$m->delete(1);
338
339
unset($dbData['types'][0]);
340
- $row['money'] = 8.2; // no trailing zero is expected
+ $row['money'] = '8.2'; // no trailing zero is expected
341
$dbData['types'][2] = array_merge(['id' => '2'], $row);
342
343
self::{'assertEquals'}($dbData, $this->getDb());
0 commit comments