X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=blobdiff_plain;f=tests%2Fapi%2FApiMiddlewareTest.php;fp=tests%2Fapi%2FApiMiddlewareTest.php;h=2afac28bd121d1886211b0c1944afa0afec3d2cf;hp=86700840b35dfc03ef75e052e0365b4e8ee89e29;hb=bcba6bd353161fab456b423e93571ab027d5423c;hpb=8997ae6c8e24286f7d47981eaf905e80d2481c10 diff --git a/tests/api/ApiMiddlewareTest.php b/tests/api/ApiMiddlewareTest.php index 86700840..2afac28b 100644 --- a/tests/api/ApiMiddlewareTest.php +++ b/tests/api/ApiMiddlewareTest.php @@ -3,6 +3,7 @@ namespace Shaarli\Api; use Shaarli\Config\ConfigManager; use Shaarli\History; +use Shaarli\Plugin\PluginManager; use Slim\Container; use Slim\Http\Environment; use Slim\Http\Request; @@ -56,6 +57,7 @@ class ApiMiddlewareTest extends \Shaarli\TestCase $this->container = new Container(); $this->container['conf'] = $this->conf; $this->container['history'] = $history; + $this->container['pluginManager'] = new PluginManager($this->conf); } /**