소스 검색

Fix test translation for flash_create_error

Mark Wilson 11 년 전
부모
커밋
1bfb7202c7
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Tests/Controller/CRUDControllerTest.php

+ 2 - 0
Tests/Controller/CRUDControllerTest.php

@@ -1309,6 +1309,8 @@ class CRUDControllerTest extends \PHPUnit_Framework_TestCase
             ->method('isValid')
             ->will($this->returnValue(false));
 
+        $this->expectTranslate('flash_create_error');
+
         $this->request->setMethod('POST');
 
         $formView = $this->getMock('Symfony\Component\Form\FormView');