Commit 68e4f28d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! BusinessTemplate: install as System Processes user.

parent ec37b17b
Pipeline #12055 running with stage
...@@ -840,14 +840,14 @@ class TestTemplateTool(ERP5TypeTestCase): ...@@ -840,14 +840,14 @@ class TestTemplateTool(ERP5TypeTestCase):
def test_ownerhsip(self): def test_ownerhsip(self):
self.assertEqual( self.assertEqual(
self.portal.portal_skins.erp5_core.getOwnerTuple(), self.portal.portal_skins.erp5_core.getOwnerTuple(),
(['erp5', 'acl_users'], 'System Processes'), ([self.portal.getId(), 'acl_users'], 'System Processes'),
) )
bt = self.templates_tool.getInstalledBusinessTemplate("erp5_forge") bt = self.templates_tool.getInstalledBusinessTemplate("erp5_forge")
bt.reinstall(force=True) bt.reinstall(force=True)
self.commit() self.commit()
self.assertEqual( self.assertEqual(
self.portal.portal_skins.erp5_forge.getOwnerTuple(), self.portal.portal_skins.erp5_forge.getOwnerTuple(),
(['erp5', 'acl_users'], 'System Processes'), ([self.portal.getId(), 'acl_users'], 'System Processes'),
) )
def test_suite(): def test_suite():
......
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