mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix latest merge
This commit is contained in:
@@ -76,6 +76,15 @@ class RemovePluginTest extends PluginCommandTestCase
|
|||||||
$command = new RemovePlugin();
|
$command = new RemovePlugin();
|
||||||
$command->setContainer(self::$DI['cli']);
|
$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();
|
$data = $this->addPluginData();
|
||||||
|
|
||||||
self::$DI['cli']['filesystem'] = $this->createFilesystemMock();
|
self::$DI['cli']['filesystem'] = $this->createFilesystemMock();
|
||||||
|
Reference in New Issue
Block a user