File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -629,7 +629,7 @@ public function testNotSynchronizedIfViewReverseTransformationFailed()
629
629
$ transformer = $ this ->getDataTransformer ();
630
630
$ transformer ->expects ($ this ->once ())
631
631
->method ('reverseTransform ' )
632
- ->will ( $ this -> throwException ( new TransformationFailedException () ));
632
+ ->willThrowException ( new TransformationFailedException ());
633
633
634
634
$ form = $ this ->getBuilder ()
635
635
->addViewTransformer ($ transformer )
@@ -645,7 +645,7 @@ public function testNotSynchronizedIfModelReverseTransformationFailed()
645
645
$ transformer = $ this ->getDataTransformer ();
646
646
$ transformer ->expects ($ this ->once ())
647
647
->method ('reverseTransform ' )
648
- ->will ( $ this -> throwException ( new TransformationFailedException () ));
648
+ ->willThrowException ( new TransformationFailedException ());
649
649
650
650
$ form = $ this ->getBuilder ()
651
651
->addModelTransformer ($ transformer )
You can’t perform that action at this time.
0 commit comments