mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Debug test class
This commit is contained in:
@@ -13,6 +13,11 @@
|
|||||||
/** @var e107_db_debug */
|
/** @var e107_db_debug */
|
||||||
protected $dbg;
|
protected $dbg;
|
||||||
|
|
||||||
|
protected function _beforeSuite()
|
||||||
|
{
|
||||||
|
define('E107_DBG_BASIC', true);
|
||||||
|
}
|
||||||
|
|
||||||
protected function _before()
|
protected function _before()
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -55,7 +60,7 @@
|
|||||||
public function testLog()
|
public function testLog()
|
||||||
{
|
{
|
||||||
|
|
||||||
define('E107_DBG_BASIC', true); // fails , already defined?
|
// fails , already defined?
|
||||||
|
|
||||||
$res = $this->dbg->log('hello world');
|
$res = $this->dbg->log('hello world');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user