diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-06-24 11:40:58 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-06-24 11:40:58 -0400 |
commit | b2e92480c29acb15586bc8ea305c8416927a667c (patch) | |
tree | 3a81aaac07b88a4af08795203e997b04d50a96c6 /tests/units/Base.php | |
parent | 700b4e8f0265e4eabd7a7c0eb6a06088d50554fe (diff) |
Added filter class for tags
Diffstat (limited to 'tests/units/Base.php')
-rw-r--r-- | tests/units/Base.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/Base.php b/tests/units/Base.php index f7bee241..9dbfb280 100644 --- a/tests/units/Base.php +++ b/tests/units/Base.php @@ -48,8 +48,8 @@ abstract class Base extends PHPUnit_Framework_TestCase new Stopwatch ); - $this->container['db']->logQueries = true; - $this->container['logger'] = new Logger; + $this->container['db']->getStatementHandler()->withLogging(); + $this->container['logger'] = new Logger(); $this->container['httpClient'] = $this ->getMockBuilder('\Kanboard\Core\Http\Client') |