Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding proper skipIf to Javascript asset timestamp test.

  • Loading branch information...
commit a0b04ed924314b672f1f83183a236f8b3f85f162 1 parent 43a7dee
@jperras jperras 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
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.