minor #39728 stop using void in test files (xabbuh)
This PR was merged into the 5.1 branch.
Discussion
----------
stop using void in test files
| Q | A
| ------------- | ---
| Branch? | 5.1
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets |
| License | MIT
| Doc PR |
Commits
-------
8f9f370f07
stop using void in test files
This commit is contained in:
commit
b9c743c163
@ -77,7 +77,7 @@ class NumberTypeTest extends BaseTypeTest
|
||||
$this->assertSame('12345,68', $form->createView()->vars['value']);
|
||||
}
|
||||
|
||||
public function testStringInputWithFloatData(): void
|
||||
public function testStringInputWithFloatData()
|
||||
{
|
||||
$this->expectException('Symfony\Component\Form\Exception\TransformationFailedException');
|
||||
$this->expectExceptionMessage('Expected a numeric string.');
|
||||
@ -88,7 +88,7 @@ class NumberTypeTest extends BaseTypeTest
|
||||
]);
|
||||
}
|
||||
|
||||
public function testStringInputWithIntData(): void
|
||||
public function testStringInputWithIntData()
|
||||
{
|
||||
$this->expectException('Symfony\Component\Form\Exception\TransformationFailedException');
|
||||
$this->expectExceptionMessage('Expected a numeric string.');
|
||||
|
Reference in New Issue
Block a user