summaryrefslogtreecommitdiff
path: root/tests/units/Base.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-04-19 14:48:12 -0400
committerFrederic Guillot <fred@kanboard.net>2015-04-19 14:48:12 -0400
commit1891e87d035c235550b5889da585e166cf49502f (patch)
treea6100a70184e635788aaed4071ca968a0fde3088 /tests/units/Base.php
parent370b5a0fd7c1dba60e3b973506ba087adba42be0 (diff)
Add Postmark integration (inbound emails for task creation)
Diffstat (limited to 'tests/units/Base.php')
-rw-r--r--tests/units/Base.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/units/Base.php b/tests/units/Base.php
index bce65f2d..b6302942 100644
--- a/tests/units/Base.php
+++ b/tests/units/Base.php
@@ -6,6 +6,8 @@ require __DIR__.'/../../app/constants.php';
use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher;
use Symfony\Component\Stopwatch\Stopwatch;
+use SimpleLogger\Logger;
+use SimpleLogger\File;
date_default_timezone_set('UTC');
@@ -38,6 +40,9 @@ abstract class Base extends PHPUnit_Framework_TestCase
);
$this->container['db']->log_queries = true;
+
+ $this->container['logger'] = new Logger;
+ $this->container['logger']->setLogger(new File('/dev/null'));
}
public function tearDown()