Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff1c52e commit eae8a80Copy full SHA for eae8a80
src/Symfony/Component/Form/Tests/Extension/Core/Type/MoneyTypeTest.php
@@ -129,8 +129,7 @@ public function testDefaultModelType()
129
$form = $this->factory->create(static::TESTED_TYPE, null, ['divisor' => 100]);
130
$form->submit('12345.67');
131
132
- $this->assertSame(1234567, $form->getData());
133
- $this->assertIsFloat($form->getData());
+ $this->assertSame(1234567.0, $form->getData());
134
}
135
136
public function testIntegerModelType()
@@ -139,6 +138,5 @@ public function testIntegerModelType()
139
138
140
141
$this->assertSame(1234567, $form->getData());
142
- $this->assertIsInt($form->getData());
143
144
0 commit comments