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()
629629 $ transformer = $ this ->getDataTransformer ();
630630 $ transformer ->expects ($ this ->once ())
631631 ->method ('reverseTransform ' )
632- ->will ( $ this -> throwException ( new TransformationFailedException () ));
632+ ->willThrowException ( new TransformationFailedException ());
633633
634634 $ form = $ this ->getBuilder ()
635635 ->addViewTransformer ($ transformer )
@@ -645,7 +645,7 @@ public function testNotSynchronizedIfModelReverseTransformationFailed()
645645 $ transformer = $ this ->getDataTransformer ();
646646 $ transformer ->expects ($ this ->once ())
647647 ->method ('reverseTransform ' )
648- ->will ( $ this -> throwException ( new TransformationFailedException () ));
648+ ->willThrowException ( new TransformationFailedException ());
649649
650650 $ form = $ this ->getBuilder ()
651651 ->addModelTransformer ($ transformer )
You can’t perform that action at this time.
0 commit comments