Modified commented code in ProfilerTest, LayoutTest with DEBUG const.

This commit is contained in:
Alexander Demidov
2012-07-13 17:44:10 +04:00
parent ad9c6b0a0c
commit 72ac3e2176
2 changed files with 4 additions and 4 deletions

View File

@ -126,8 +126,8 @@ class LayoutTest extends PHPUnit_Framework_TestCase
public function tearDown()
{
// if (defined('DEBUG')) {
// $debug = DEBUG ? 'TRUE' : 'FALSE';
// if (!is_null(Config::get('DEBUG'))) {
// $debug = Config::get('DEBUG') ? 'TRUE' : 'FALSE';
// echo PHP_EOL . __CLASS__ . ' DEBUG = ' . $debug . PHP_EOL;
// } else {
// echo PHP_EOL . __CLASS__ . ' ' . 'DEBUG NOT DEFINED' . PHP_EOL;

View File

@ -131,8 +131,8 @@ class ProfilerTest extends PHPUnit_Framework_TestCase
public function tearDown()
{
// if (defined('DEBUG')) {
// $debug = DEBUG ? 'TRUE' : 'FALSE';
// if (!is_null(Config::get('DEBUG'))) {
// $debug = Config::get('DEBUG') ? 'TRUE' : 'FALSE';
// echo PHP_EOL . __CLASS__ . ' ' . $debug . PHP_EOL;
// } else {
// echo PHP_EOL . __CLASS__ . ' ' . 'DEBUG NOT DEFINED' . PHP_EOL;