summaryrefslogtreecommitdiff
path: root/tests/units/Base.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-23 20:53:30 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-23 20:53:30 -0400
commitcbee789549c7fde02f52061e19fe96dbf667c64a (patch)
treeb6e3ece519db78a4d1c565618ddfc8533656b807 /tests/units/Base.php
parent8314c99b56e66c2b86dd32432bcf5ed94a3ece02 (diff)
Added QueueProvider to base class for unit tests
Diffstat (limited to 'tests/units/Base.php')
-rw-r--r--tests/units/Base.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/tests/units/Base.php b/tests/units/Base.php
index 171f9b2b..16c34573 100644
--- a/tests/units/Base.php
+++ b/tests/units/Base.php
@@ -33,14 +33,15 @@ abstract class Base extends PHPUnit_Framework_TestCase
}
$this->container = new Pimple\Container;
- $this->container->register(new Kanboard\ServiceProvider\HelperProvider);
- $this->container->register(new Kanboard\ServiceProvider\AuthenticationProvider);
- $this->container->register(new Kanboard\ServiceProvider\DatabaseProvider);
- $this->container->register(new Kanboard\ServiceProvider\ClassProvider);
- $this->container->register(new Kanboard\ServiceProvider\NotificationProvider);
- $this->container->register(new Kanboard\ServiceProvider\RouteProvider);
- $this->container->register(new Kanboard\ServiceProvider\AvatarProvider);
- $this->container->register(new Kanboard\ServiceProvider\FilterProvider);
+ $this->container->register(new Kanboard\ServiceProvider\HelperProvider());
+ $this->container->register(new Kanboard\ServiceProvider\AuthenticationProvider());
+ $this->container->register(new Kanboard\ServiceProvider\DatabaseProvider());
+ $this->container->register(new Kanboard\ServiceProvider\ClassProvider());
+ $this->container->register(new Kanboard\ServiceProvider\NotificationProvider());
+ $this->container->register(new Kanboard\ServiceProvider\RouteProvider());
+ $this->container->register(new Kanboard\ServiceProvider\AvatarProvider());
+ $this->container->register(new Kanboard\ServiceProvider\FilterProvider());
+ $this->container->register(new Kanboard\ServiceProvider\QueueProvider());
$this->container['dispatcher'] = new TraceableEventDispatcher(
new EventDispatcher,