Browse Source

Modified commented code in ProfilerTest, LayoutTest with DEBUG const.

master
Alexander Demidov 12 years ago
parent
commit
72ac3e2176
  1. 4
      tests/layout/LayoutTest.php
  2. 4
      tests/util/profiler/ProfilerTest.php

4
tests/layout/LayoutTest.php

@ -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;

4
tests/util/profiler/ProfilerTest.php

@ -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;

Loading…
Cancel
Save