Browse Source

modified constant definition

master
Anton Grebnev 13 years ago
parent
commit
db48b33aed
  1. 4
      tests/LoadTest.php

4
tests/LoadTest.php

@ -70,7 +70,9 @@ class LoadTest extends PHPUnit_Framework_TestCase
$autoload = require(self::$file); $autoload = require(self::$file);
$this->assertNotEmpty($autoload); $this->assertNotEmpty($autoload);
define('DEBUG', true);
if(!defined('DEBUG')) {
define('DEBUG', true);
}
Load::autoload('Func'); Load::autoload('Func');
Load::autoload('Captcha'); Load::autoload('Captcha');
} }

Loading…
Cancel
Save