diff --git a/tests/Xi/Filelib/Tests/Backend/Cache/Adapter/MemcachedCacheAdapterTest.php b/tests/Xi/Filelib/Tests/Backend/Cache/Adapter/MemcachedCacheAdapterTest.php index f573f4c4..850df44f 100644 --- a/tests/Xi/Filelib/Tests/Backend/Cache/Adapter/MemcachedCacheAdapterTest.php +++ b/tests/Xi/Filelib/Tests/Backend/Cache/Adapter/MemcachedCacheAdapterTest.php @@ -35,6 +35,10 @@ public function setUp() public function tearDown() { + if (empty($this->memcached)) { + return; + } + $this->memcached->flush(); }