Updating Javacsript helper to use a real skipIf

This commit is contained in:
mark_story 2009-10-31 14:25:52 -04:00
parent 0637272bd2
commit 24a75a27bf

View file

@ -218,8 +218,7 @@ class JavascriptTest extends CakeTestCase {
* @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), 'JavaScript directory not writable, skipping JS asset timestamp tests. %s')) {
return;
}