Skip to content
This repository
Browse code

Updating Javacsript helper to use a real skipIf

  • Loading branch information...
commit 24a75a27bf2eee0a6a50e2024452e89533c37b65 1 parent 0637272
Mark Story authored
3  cake/tests/cases/libs/view/helpers/javascript.test.php
@@ -218,8 +218,7 @@ function testLink() {
218 218
  * @return void
219 219
  */
220 220
 	function testFilteringAndTimestamping() {
221  
-		if (!is_writable(JS)) {
222  
-			echo "<br />JavaScript directory not writable, skipping JS asset timestamp tests<br />";
  221
+		if ($this->skipIf(!is_writable(JS), 'JavaScript directory not writable, skipping JS asset timestamp tests. %s')) {
223 222
 			return;
224 223
 		}
225 224
 

0 notes on commit 24a75a2

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