@@ -116,17 +116,6 @@ public function testDecimalField(): void
116116 $ this ->assertSame ('0.55 ' , $ subClass ->getDecimalField ());
117117 }
118118
119- public function testDecimalFieldWithoutHint (): void
120- {
121- $ subClass = $ this ->createSubClass (2 );
122- $ this ->assertSame (0.65 , $ subClass ->getDecimalFieldWithoutHint ());
123- $ this ->em ->flush ();
124- $ this ->em ->clear ();
125-
126- $ subClass = $ this ->em ->getRepository (SubClass::class)->find (2 );
127- $ this ->assertSame ('0.65 ' , $ subClass ->getDecimalFieldWithoutHint ());
128- }
129-
130119 public function testDateField (): void
131120 {
132121 $ subClass = $ this ->createSubClass (2 );
@@ -178,7 +167,6 @@ public static function getTestSetNullFieldProvider(): array
178167 ['setName ' , 'getName ' ],
179168 ['setNameWithoutHint ' , 'getNameWithoutHint ' ],
180169 ['setDecimalField ' , 'getDecimalField ' ],
181- ['setDecimalFieldWithoutHint ' , 'getDecimalFieldWithoutHint ' ],
182170 ['setDateField ' , 'getDateField ' ],
183171 ['setBooleanField ' , 'getBooleanField ' ],
184172 ['setTextField ' , 'getTextField ' ],
@@ -564,7 +552,6 @@ protected function createSubClass(int $id, ?Initializer1 $firstInitializer = nul
564552 ->setFirstInitializer ($ firstInitializer )
565553 ->setSecondInitializer ($ secondInitializer )
566554 ->setDecimalField ('0.55 ' )
567- ->setDecimalFieldWithoutHint (0.65 ) // Give a double - Doctrine will return string
568555 ->setDateField (new \DateTime ('2020-01-01 00:00:00 ' ))
569556 ->setBooleanField (true )
570557 ->setTextField ('Text ' .$ id )
0 commit comments