Commit 28f7e07d authored by Nicolas Delaby's avatar Nicolas Delaby

Follow new CacheConversion API, rewiewed by romain

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31675 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c12ac4e0
......@@ -301,7 +301,7 @@ class TestDocumentConversionCache(ERP5TypeTestCase, ZopeTestCase.Functional):
cache_id = document.generateCacheId(**kw)
cache_factory = document._getCacheFactory()
for cache_plugin in cache_factory.getCachePluginList():
cache_entry = cache_plugin.get(document.getPath(), DEFAULT_CACHE_SCOPE)
cache_entry = cache_plugin.get(document._getCacheKey(), DEFAULT_CACHE_SCOPE)
value = cache_entry.getValue()
md5sum, mime, data = value.get(cache_id)
#get data from cache
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment