diff options
Diffstat (limited to 'tests/units/Base.php')
-rw-r--r-- | tests/units/Base.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/units/Base.php b/tests/units/Base.php index 1eb9a9df..bfcef418 100644 --- a/tests/units/Base.php +++ b/tests/units/Base.php @@ -10,7 +10,7 @@ use SimpleLogger\Logger; use SimpleLogger\File; use Kanboard\Core\Session\FlashMessage; use Kanboard\Core\Session\SessionStorage; -use Kanboard\Core\Action\ActionManager; +use Kanboard\ServiceProvider\ActionProvider; class FakeHttpClient { @@ -105,9 +105,9 @@ abstract class Base extends PHPUnit_Framework_TestCase ->getMock(); $this->container['sessionStorage'] = new SessionStorage; - $this->container['actionManager'] = new ActionManager($this->container); + $this->container->register(new ActionProvider); - $this->container['flash'] = function($c) { + $this->container['flash'] = function ($c) { return new FlashMessage($c); }; } |