mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Merge branch '3.8'
Conflicts: lib/Alchemy/Phrasea/Security/Firewall.php
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user