Commit 98182aeb authored by Stefan H. Holek's avatar Stefan H. Holek

Call setupCurrentSkin with REQUEST argument to shut up a deprecation warning.

parent 74f5b29e
......@@ -100,7 +100,10 @@ class PortalTestCase(base.TestCase):
self.portal.clearCurrentSkin()
else: # CMF 1.4
self.portal._v_skindata = None
self.portal.setupCurrentSkin()
try:
self.portal.setupCurrentSkin(self.app.REQUEST)
except TypeError:
self.portal.setupCurrentSkin()
# Portal interface
......
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