File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public function testType(): void
40
40
'boolean ' => true ,
41
41
'integer ' => '2940 ' ,
42
42
'money ' => '8.20 ' ,
43
- 'float ' => '8.20234376757473 ' ,
43
+ 'float ' => '8.20234 ' ,
44
44
'json ' => '[1,2,3] ' ,
45
45
],
46
46
],
@@ -69,7 +69,7 @@ public function testType(): void
69
69
$ this ->assertEquals (new \DateTime ('1970-01-01 12:00:50 ' ), $ mm ->get ('time ' ));
70
70
$ this ->assertSame (2940 , $ mm ->get ('integer ' ));
71
71
$ this ->assertSame ([1 , 2 , 3 ], $ mm ->get ('json ' ));
72
- $ this ->assertSame (8.20234376757473 , $ mm ->get ('float ' ));
72
+ $ this ->assertSame (8.20234 , $ mm ->get ('float ' ));
73
73
74
74
$ m ->createEntity ()->setMulti (array_diff_key ($ mm ->get (), ['id ' => true ]))->save ();
75
75
@@ -84,7 +84,7 @@ public function testType(): void
84
84
'boolean ' => 1 ,
85
85
'integer ' => 2940 ,
86
86
'money ' => 8.2 ,
87
- 'float ' => 8.20234376757473 ,
87
+ 'float ' => 8.20234 ,
88
88
'json ' => '[1,2,3] ' ,
89
89
],
90
90
2 => [
@@ -96,7 +96,7 @@ public function testType(): void
96
96
'boolean ' => '1 ' ,
97
97
'integer ' => '2940 ' ,
98
98
'money ' => '8.2 ' ,
99
- 'float ' => '8.20234376757473 ' ,
99
+ 'float ' => '8.20234 ' ,
100
100
'json ' => '[1,2,3] ' ,
101
101
],
102
102
],
@@ -243,7 +243,7 @@ public function testTypeCustom1(): void
243
243
'b2 ' => false ,
244
244
'integer ' => '2940 ' ,
245
245
'money ' => '8.20 ' ,
246
- 'float ' => '8.20234376757473 ' ,
246
+ 'float ' => '8.20234 ' ,
247
247
],
248
248
],
249
249
];
You can’t perform that action at this time.
0 commit comments