mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Remove JS constant use from tests.
This commit is contained in:
parent
83db877765
commit
75e8facd2f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue