From c9981cda7878c363bb17b5e1fc40d9fa15a31b70 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 10 Feb 2019 15:26:55 -0800 Subject: [PATCH] Debug test class --- tests/unit/e107_db_debugTest.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/unit/e107_db_debugTest.php b/tests/unit/e107_db_debugTest.php index f795cdc46..22ca6cf80 100644 --- a/tests/unit/e107_db_debugTest.php +++ b/tests/unit/e107_db_debugTest.php @@ -13,6 +13,11 @@ /** @var e107_db_debug */ protected $dbg; + protected function _beforeSuite() + { + define('E107_DBG_BASIC', true); + } + protected function _before() { @@ -55,7 +60,7 @@ public function testLog() { - define('E107_DBG_BASIC', true); // fails , already defined? + // fails , already defined? $res = $this->dbg->log('hello world');