public function testExpireAdd()
 {
     if (getenv('TRAVIS') == 'true') {
         $this->markTestSkipped('Can not reliably test memcache expiry on travis-ci.');
     }
     parent::testExpireAdd();
 }
Example #2
0
 protected function setUp()
 {
     parent::setUp();
     $this->memoryCache1 = new MemoryCacheStore();
     $this->memoryCache2 = new MemoryCacheStore();
     $this->memoryCache3 = new MemoryCacheStore();
     $this->fileCache = new FileCacheStore(array('dir' => vfsStream::url('test/cache')));
     $this->cache = new Cache(array($this->memoryCache1, $this->memoryCache2, $this->memoryCache3, $this->fileCache));
 }
 protected function setUp()
 {
     parent::setUp();
     $this->cache = new FileCacheStore(array('dir' => vfsStream::url('test/cache')));
 }
 protected function setUp()
 {
     parent::setUp();
     $this->cache = new MemoryCacheStore();
 }