Explorar el Código

Add test assertion

Jordi Boggiano hace 11 años
padre
commit
7755564962
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tests/Composer/Test/Repository/CompositeRepositoryTest.php

+ 1 - 1
tests/Composer/Test/Repository/CompositeRepositoryTest.php

@@ -132,7 +132,7 @@ class CompositeRepositoryTest extends TestCase
     public function testNoRepositories($method, $args)
     {
         $repo = new CompositeRepository(array());
-        call_user_func_array(array($repo, $method), $args);
+        $this->assertEquals(array(), call_user_func_array(array($repo, $method), $args));
     }
 
     public function provideMethodCalls()