diff --git a/src/PHPCRAPI/PHPCR/Tests/RepositoryTest.php b/src/PHPCRAPI/PHPCR/Tests/RepositoryTest.php index ddf5657..d3c88d5 100644 --- a/src/PHPCRAPI/PHPCR/Tests/RepositoryTest.php +++ b/src/PHPCRAPI/PHPCR/Tests/RepositoryTest.php @@ -18,7 +18,8 @@ public function testItShouldInstanciateTheFactory() ->fooBar() ->new(); - $factoryInstance = $this->mock() + $factoryInstance = $this->mock('\PHPCR\RepositoryFactoryInterface') + ->getConfigurationKeys() ->getRepository($repositoryInterface) ->new();