diff --git a/tests/UnitTests/CacheResourceTests/Memcache/CacheResourceCustomMemcacheTest.php b/tests/UnitTests/CacheResourceTests/Memcache/CacheResourceCustomMemcacheTest.php index 11160d7e..32c59ee8 100644 --- a/tests/UnitTests/CacheResourceTests/Memcache/CacheResourceCustomMemcacheTest.php +++ b/tests/UnitTests/CacheResourceTests/Memcache/CacheResourceCustomMemcacheTest.php @@ -45,49 +45,4 @@ class CacheResourceCustomMemcacheTest extends CacheResourceTestCommon { $this->assertEquals(- 1, $b); } - - public function testGetCachedFilepathSubDirs() - { - $this->smarty->caching = true; - $this->smarty->cache_lifetime = 1000; - $tpl = $this->smarty->createTemplate('helloworld.tpl'); - $sha1 = $tpl->source->uid . '#helloworld_tpl##'; - $this->assertEquals($sha1, $tpl->cached->filepath); - } - - /** - * test getCachedFilepath with cache_id - */ - public function testGetCachedFilepathCacheId() - { - $this->smarty->caching = true; - $this->smarty->cache_lifetime = 1000; - $tpl = $this->smarty->createTemplate('helloworld.tpl', 'foo|bar'); - $sha1 = $tpl->source->uid . '#helloworld_tpl#foo|bar#'; - $this->assertEquals($sha1, $tpl->cached->filepath); - } - - /** - * test getCachedFilepath with compile_id - */ - public function testGetCachedFilepathCompileId() - { - $this->smarty->caching = true; - $this->smarty->cache_lifetime = 1000; - $tpl = $this->smarty->createTemplate('helloworld.tpl', null, 'blar'); - $sha1 = $tpl->source->uid . '#helloworld_tpl##blar'; - $this->assertEquals($sha1, $tpl->cached->filepath); - } - - /** - * test getCachedFilepath with cache_id and compile_id - */ - public function testGetCachedFilepathCacheIdCompileId() - { - $this->smarty->caching = true; - $this->smarty->cache_lifetime = 1000; - $tpl = $this->smarty->createTemplate('helloworld.tpl', 'foo|bar', 'blar'); - $sha1 = $tpl->source->uid . '#helloworld_tpl#foo|bar#blar'; - $this->assertEquals($sha1, $tpl->cached->filepath); - } }