From 7cc38954f8b0645a4dd88273602deeb4983277a4 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Thu, 29 Mar 2018 22:04:24 -0700 Subject: Add cli to base test class --- tests/units/Base.php | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/units') 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') -- cgit v1.2.3