Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating Javacsript helper to use a real skipIf

  • Loading branch information...
commit 24a75a27bf2eee0a6a50e2024452e89533c37b65 1 parent 0637272
@markstory markstory authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  cake/tests/cases/libs/view/helpers/javascript.test.php
View
3  cake/tests/cases/libs/view/helpers/javascript.test.php
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.