mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Updating Javacsript helper to use a real skipIf
This commit is contained in:
parent
0637272bd2
commit
24a75a27bf
1 changed files with 1 additions and 2 deletions
|
@ -218,8 +218,7 @@ class JavascriptTest extends CakeTestCase {
|
|||
* @return void
|
||||
*/
|
||||
function testFilteringAndTimestamping() {
|
||||
if (!is_writable(JS)) {
|
||||
echo "<br />JavaScript directory not writable, skipping JS asset timestamp tests<br />";
|
||||
if ($this->skipIf(!is_writable(JS), 'JavaScript directory not writable, skipping JS asset timestamp tests. %s')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue