1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 00:53:06 +00:00

Add test assertion

This commit is contained in:
Jordi Boggiano 2013-06-26 16:24:49 +02:00
parent 8d6f4307c8
commit 7755564962

View file

@ -132,7 +132,7 @@ class CompositeRepositoryTest extends TestCase
public function testNoRepositories($method, $args) public function testNoRepositories($method, $args)
{ {
$repo = new CompositeRepository(array()); $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() public function provideMethodCalls()