mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 23:08:46 +02:00
test: reduce the verbosity of test cases
SVN:trunk[5802]
This commit is contained in:
@@ -27,11 +27,11 @@ namespace Combodo\iTop\Test\UnitTest;
|
|||||||
|
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
define('DEBUG_UNIT_TEST', true);
|
define('DEBUG_UNIT_TEST', false);
|
||||||
|
|
||||||
class ItopTestCase extends TestCase
|
class ItopTestCase extends TestCase
|
||||||
{
|
{
|
||||||
protected function setUp()
|
protected function setUp()
|
||||||
{
|
{
|
||||||
@include_once '../approot.inc.php';
|
@include_once '../approot.inc.php';
|
||||||
@include_once '../../approot.inc.php';
|
@include_once '../../approot.inc.php';
|
||||||
@@ -39,6 +39,7 @@ class ItopTestCase extends TestCase
|
|||||||
@include_once '../../../../approot.inc.php';
|
@include_once '../../../../approot.inc.php';
|
||||||
|
|
||||||
$this->debug("\n----------\n---------- ".$this->getName()."\n----------\n");
|
$this->debug("\n----------\n---------- ".$this->getName()."\n----------\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function debug($sMsg)
|
protected function debug($sMsg)
|
||||||
|
|||||||
Reference in New Issue
Block a user