mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Adding proper skipIf to Javascript asset timestamp test.
This commit is contained in:
parent
43a7dee08a
commit
a0b04ed924
1 changed files with 1 additions and 2 deletions
|
@ -231,8 +231,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), "%s JavaScript directory not writable, skipping JS asset timestamp tests.")) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue