Browse Source

Add test assertion

Jordi Boggiano 11 years ago
parent
commit
7755564962
1 changed files with 1 additions and 1 deletions
  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()