Explorar o código

Fix broken tests

Grégoire Paris %!s(int64=9) %!d(string=hai) anos
pai
achega
84b82f8ea6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'));