X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fcontainer%2FContainerBuilderTest.php;fp=tests%2Fcontainer%2FContainerBuilderTest.php;h=04d4ef014878c75d18da09e841b20451d410a508;hb=bd11879018416d2c5d87728bb0be6ee0cf54451a;hp=3d43c34470d098dd69a18e5a78c874187c0ca83d;hpb=8f423eb11c6642d96b5144f56e4698652591ad6b;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/container/ContainerBuilderTest.php b/tests/container/ContainerBuilderTest.php index 3d43c344..04d4ef01 100644 --- a/tests/container/ContainerBuilderTest.php +++ b/tests/container/ContainerBuilderTest.php @@ -43,11 +43,15 @@ class ContainerBuilderTest extends TestCase /** @var CookieManager */ protected $cookieManager; + /** @var PluginManager */ + protected $pluginManager; + public function setUp(): void { $this->conf = new ConfigManager('tests/utils/config/configJson'); $this->sessionManager = $this->createMock(SessionManager::class); $this->cookieManager = $this->createMock(CookieManager::class); + $this->pluginManager = $this->createMock(PluginManager::class); $this->loginManager = $this->createMock(LoginManager::class); $this->loginManager->method('isLoggedIn')->willReturn(true); @@ -57,6 +61,7 @@ class ContainerBuilderTest extends TestCase $this->sessionManager, $this->cookieManager, $this->loginManager, + $this->pluginManager, $this->createMock(LoggerInterface::class) ); }