X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fcontainer%2FContainerBuilderTest.php;fp=tests%2Fcontainer%2FContainerBuilderTest.php;h=04d4ef014878c75d18da09e841b20451d410a508;hb=a6e9c08499f9f79dad88cb3ae9eacda0e0c34c96;hp=3d43c34470d098dd69a18e5a78c874187c0ca83d;hpb=6f9e0609f4c118142504234ebcc7d93456b5e588;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) ); }