Skip to content

Commit

Permalink
[Form] fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Apr 28, 2011
1 parent f865a79 commit 7d02412
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function testReverseTransformExpectsValidDateString()
{
$reverseTransformer = new DateTimeToStringTransformer();

$this->setExpectedException('\InvalidArgumentException');
$this->setExpectedException('Symfony\Component\Form\Exception\TransformationFailedException');

$reverseTransformer->reverseTransform('2010-2010-2010', null);
}
Expand Down

0 comments on commit 7d02412

Please sign in to comment.