Adding proper skipIf to Javascript asset timestamp test.

This commit is contained in:
jperras 2009-08-02 22:54:05 -04:00
parent 43a7dee08a
commit a0b04ed924

View file

@ -231,8 +231,7 @@ class JavascriptTest extends CakeTestCase {
* @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;
} }