浏览代码

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'));