summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unit/Caching/TAPCCacheTest.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/unit/Caching/TAPCCacheTest.php b/tests/unit/Caching/TAPCCacheTest.php
index 945f727e..84ff02ca 100644
--- a/tests/unit/Caching/TAPCCacheTest.php
+++ b/tests/unit/Caching/TAPCCacheTest.php
@@ -20,9 +20,14 @@ class TAPCCacheTest extends PHPUnit_Framework_TestCase {
if(!is_writable($runtimePath)) {
self::markTestSkipped("'$runtimePath' is writable");
}
- $this->app = new TApplication($basePath);
- self::$cache = new TAPCCache();
- self::$cache->init(null);
+ try {
+ $this->app = new TApplication($basePath);
+ self::$cache = new TAPCCache();
+ self::$cache->init(null);
+ } catch(TConfigurationException $e) {
+ self::markTestSkipped($e->getMessage());
+ }
+
}
}