Skip to content

Commit

Permalink
Adding proper skipIf to Javascript asset timestamp test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jperras committed Aug 3, 2009
1 parent 43a7dee commit a0b04ed
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
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -231,8 +231,7 @@ function testLink() {
* @return void * @return void
*/ */
function testFilteringAndTimestamping() { function testFilteringAndTimestamping() {
if (!is_writable(JS)) { if($this->skipIf(!is_writable(JS), "%s JavaScript directory not writable, skipping JS asset timestamp tests.")) {
echo "<br />JavaScript directory not writable, skipping JS asset timestamp tests<br />";
return; return;
} }


Expand Down

0 comments on commit a0b04ed

Please sign in to comment.