Fix latest merge

This commit is contained in:
Romain Neutron
2014-02-03 22:00:07 +01:00
parent 2c42f7e3dc
commit f267a5568e

View File

@@ -76,6 +76,15 @@ class RemovePluginTest extends PluginCommandTestCase
$command = new RemovePlugin();
$command->setContainer(self::$DI['cli']);
self::$DI['cli']['plugins.manager'] = $this->getMockBuilder('Alchemy\Phrasea\Plugin\PluginManager')
->disableOriginalConstructor()
->getMock();
self::$DI['cli']['plugins.manager']->expects($this->once())
->method('hasPlugin')
->with('test-plugin')
->will($this->returnValue(true));
$data = $this->addPluginData();
self::$DI['cli']['filesystem'] = $this->createFilesystemMock();