File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <xliff version =" 1.2" xmlns =" urn:oasis:names:tc:xliff:document:1.2" >
3+ <file source-language =" en" datatype =" plaintext" original =" file.ext" >
4+ <body >
5+ <trans-unit id =" 28" >
6+ <source >This form should not contain extra fields.</source >
7+ <target >Mẫu này không nên chứa trường mở rộng</target >
8+ </trans-unit >
9+ <trans-unit id =" 29" >
10+ <source >The uploaded file was too large. Please try to upload a smaller file.</source >
11+ <target >Tập tin tải lên quá lớn. Vui lòng thử lại với tập tin nhỏ hơn.</target >
12+ </trans-unit >
13+ <trans-unit id =" 30" >
14+ <source >The CSRF token is invalid. Please try to resubmit the form.</source >
15+ <target >CSRF token không hợp lệ. Vui lòng thử lại.</target >
16+ </trans-unit >
17+ </body >
18+ </file >
19+ </xliff >
Original file line number Diff line number Diff line change @@ -620,7 +620,7 @@ public function testNotSynchronizedIfViewReverseTransformationFailed()
620620 $ transformer = $ this ->getDataTransformer ();
621621 $ transformer ->expects ($ this ->once ())
622622 ->method ('reverseTransform ' )
623- ->will ( $ this -> throwException ( new TransformationFailedException () ));
623+ ->willThrowException ( new TransformationFailedException ());
624624
625625 $ form = $ this ->getBuilder ()
626626 ->addViewTransformer ($ transformer )
@@ -636,7 +636,7 @@ public function testNotSynchronizedIfModelReverseTransformationFailed()
636636 $ transformer = $ this ->getDataTransformer ();
637637 $ transformer ->expects ($ this ->once ())
638638 ->method ('reverseTransform ' )
639- ->will ( $ this -> throwException ( new TransformationFailedException () ));
639+ ->willThrowException ( new TransformationFailedException ());
640640
641641 $ form = $ this ->getBuilder ()
642642 ->addModelTransformer ($ transformer )
You can’t perform that action at this time.
0 commit comments