Remove JS constant use from tests.

This commit is contained in:
ADmad 2013-08-31 11:45:59 +05:30
parent 83db877765
commit 75e8facd2f

View file

@ -859,7 +859,7 @@ class HtmlHelperTest extends CakeTestCase {
* @return void * @return void
*/ */
public function testScriptTimestamping() { public function testScriptTimestamping() {
$this->skipIf(!is_writable(JS), 'webroot/js is not Writable, timestamp testing has been skipped.'); $this->skipIf(!is_writable(WWW_ROOT . 'js'), 'webroot/js is not Writable, timestamp testing has been skipped.');
Configure::write('debug', 2); Configure::write('debug', 2);
Configure::write('Asset.timestamp', true); Configure::write('Asset.timestamp', true);