Skip to content
Permalink
Browse files

Adding skip() for CacheHelper test to check if app/tmp/cache/views is…

… writable.
  • Loading branch information...
markstory committed Oct 22, 2009
1 parent dac26d9 commit 0b232742d981f28cdc6a929bac5fca1b96aeb24c
Showing with 8 additions and 0 deletions.
  1. +8 −0 cake/tests/cases/libs/view/helpers/cache.test.php
@@ -80,6 +80,14 @@ function cache_parsing() {
*/
class CacheHelperTest extends CakeTestCase {
/**
* Checks if TMP/views is writable, and skips the case if it is not.
*
* @return void
**/
function skip() {
$this->skipUnless(is_writable(TMP . 'cache' . DS . 'views' . DS), 'TMP/views is not writable %s');
}
/**
* setUp method
*

0 comments on commit 0b23274

Please sign in to comment.
You can’t perform that action at this time.