Skip to content
Browse files

Adding proper skipIf to Javascript asset timestamp test.

  • Loading branch information...
1 parent 43a7dee commit a0b04ed924314b672f1f83183a236f8b3f85f162 @jperras jperras committed
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
@@ -231,8 +231,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), "%s JavaScript directory not writable, skipping JS asset timestamp tests.")) {
return;
}

0 comments on commit a0b04ed

Please sign in to comment.
Something went wrong with that request. Please try again.