Skip to content

Commit

Permalink
Updating Javacsript helper to use a real skipIf
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 31, 2009
1 parent 0637272 commit 24a75a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cake/tests/cases/libs/view/helpers/javascript.test.php
Expand Up @@ -218,8 +218,7 @@ function testLink() {
* @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;
}

Expand Down

0 comments on commit 24a75a2

Please sign in to comment.