Add cli to base test class

This commit is contained in:
Frédéric Guillot 2018-03-29 22:04:24 -07:00
parent 396a04adfa
commit 7cc38954f8
1 changed files with 1 additions and 0 deletions

View File

@ -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')