]> source.dussan.org Git - nextcloud-server.git/commitdiff
Skip test for XCache when the module is not there
authorBart Visscher <bartv@thisnet.nl>
Tue, 5 Jun 2012 21:10:51 +0000 (23:10 +0200)
committerBart Visscher <bartv@thisnet.nl>
Tue, 5 Jun 2012 21:10:51 +0000 (23:10 +0200)
tests/lib/cache/xcache.php

index 9ec80ff83c854d8eb9d7510f29a3ca542442b08b..a5e954f827c278d8e4ea5f4d5314df19401322bc 100644 (file)
 */
 
 class Test_Cache_XCache extends Test_Cache {
+       function skip() {
+               $this->skipUnless(function_exists('xcache_get'));
+       }
+
        public function setUp(){
                $this->instance=new OC_Cache_XCache();
        }