summaryrefslogtreecommitdiff
path: root/tests/units
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-03-29 22:04:24 -0700
committerFrédéric Guillot <fred@kanboard.net>2018-03-29 22:04:24 -0700
commit7cc38954f8b0645a4dd88273602deeb4983277a4 (patch)
tree8e2c736f1b13af4db3e5f560b4d505a047077361 /tests/units
parent396a04adfaf5b7fbf089db2a6f6f978b7381c93b (diff)
Add cli to base test class
Diffstat (limited to 'tests/units')
-rw-r--r--tests/units/Base.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/units/Base.php b/tests/units/Base.php
index b38fa12f..42f84278 100644
--- a/tests/units/Base.php
+++ b/tests/units/Base.php
@@ -61,6 +61,7 @@ abstract class Base extends PHPUnit_Framework_TestCase
$this->container['db']->getStatementHandler()->withLogging();
$this->container['logger'] = new Logger();
+ $this->container['cli'] = new \Symfony\Component\Console\Application('Kanboard', 'test');
$this->container['httpClient'] = $this
->getMockBuilder('\Kanboard\Core\Http\Client')