From 7d9e0659636816af3494e3714d31390a5e8d8a8b Mon Sep 17 00:00:00 2001 From: Marco Vito Moscaritolo Date: Sun, 31 May 2015 15:19:20 +0200 Subject: [PATCH] Fixed tests after DIC introduction refactoring. --- Tests/PHPCI/Command/CreateAdminCommandTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/PHPCI/Command/CreateAdminCommandTest.php b/Tests/PHPCI/Command/CreateAdminCommandTest.php index 10b7b7f3..d68f4ba5 100644 --- a/Tests/PHPCI/Command/CreateAdminCommandTest.php +++ b/Tests/PHPCI/Command/CreateAdminCommandTest.php @@ -35,7 +35,7 @@ class CreateAdminCommandTest extends \PHPUnit_Framework_TestCase parent::setup(); $this->command = $this->getMockBuilder('PHPCI\\Command\\CreateAdminCommand') - ->setConstructorArgs(array($this->getMock('PHPCI\\Store\\UserStore'))) + ->setConstructorArgs(array($this->getMock('PHPCI\\Service\\UserService', array(), array(), '', false))) ->setMethods(array('reloadConfig')) ->getMock() ;