Commit c4bede2c authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

since r39007, Anonymous User cannt access non-published Web Site.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39036 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d49c2218
...@@ -104,6 +104,7 @@ class TestERP5Web(ERP5TypeTestCase): ...@@ -104,6 +104,7 @@ class TestERP5Web(ERP5TypeTestCase):
website = self.getPortal().web_site_module.newContent(portal_type = 'Web Site', website = self.getPortal().web_site_module.newContent(portal_type = 'Web Site',
id = self.website_id, id = self.website_id,
**kw) **kw)
website.publish()
transaction.commit() transaction.commit()
self.tic() self.tic()
return website return website
......
...@@ -124,6 +124,7 @@ class TestERP5WebWithDms(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -124,6 +124,7 @@ class TestERP5WebWithDms(ERP5TypeTestCase, ZopeTestCase.Functional):
website = self.getPortal().web_site_module.newContent(portal_type = 'Web Site', website = self.getPortal().web_site_module.newContent(portal_type = 'Web Site',
id = self.website_id, id = self.website_id,
**kw) **kw)
website.publish()
transaction.commit() transaction.commit()
self.tic() self.tic()
return website return website
......
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