소스 검색

Fix broken tests

Grégoire Paris 9 년 전
부모
커밋
84b82f8ea6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Tests/Controller/CRUDControllerTest.php

+ 1 - 1
Tests/Controller/CRUDControllerTest.php

@@ -2429,7 +2429,7 @@ class CRUDControllerTest extends PHPUnit_Framework_TestCase
             ->method('getExportFormats')
             ->will($this->returnValue(array('json')));
 
-        $this->admin->expects($this->once())
+        $this->admin->expects($this->any())
             ->method('getClass')
             ->will($this->returnValue('Foo'));