[Form] fixed unit tests
This commit is contained in:
parent
f865a79742
commit
7d024125d3
@ -97,7 +97,7 @@ class DateTimeToStringTransformerTest extends DateTimeTestCase
|
||||
{
|
||||
$reverseTransformer = new DateTimeToStringTransformer();
|
||||
|
||||
$this->setExpectedException('\InvalidArgumentException');
|
||||
$this->setExpectedException('Symfony\Component\Form\Exception\TransformationFailedException');
|
||||
|
||||
$reverseTransformer->reverseTransform('2010-2010-2010', null);
|
||||
}
|
||||
|
Reference in New Issue
Block a user