Commit 194418ab authored by Jérome Perrin's avatar Jérome Perrin

don't update cache manually, it should be done automatically


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23628 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b7d0331c
......@@ -98,11 +98,6 @@ class TestCommerce(ERP5TypeTestCase):
request = self.app.REQUEST
default_product = self.getDefaultProduct()
# XXX: update cache manually only once in first test
# in normal Zope it will be updated at startup
# This is needed as Commerce uses its own Cache Factory
portal.portal_caches.updateCache()
# set 'session_id' to simulate browser (cookie) environment
request.set('session_id', SESSION_ID)
......
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