Commit b3b5dafe authored by Aurel's avatar Aurel

do not use reserved id

parent 0f944d83
...@@ -2480,7 +2480,7 @@ class TestERP5Type(PropertySheetTestCase, LogInterceptor): ...@@ -2480,7 +2480,7 @@ class TestERP5Type(PropertySheetTestCase, LogInterceptor):
folder = self.getOrganisationModule() folder = self.getOrganisationModule()
obj = folder.newContent(portal_type='Organisation') obj = folder.newContent(portal_type='Organisation')
self.assertIsInstance(portal.creation_date, DateTime) self.assertIsInstance(portal.creation_date, DateTime)
self.assertLess(portal.creation_date, object.getCreationDate()) self.assertLess(portal.creation_date, obj.getCreationDate())
self.assertIsNone(folder.getCreationDate()) self.assertIsNone(folder.getCreationDate())
def test_copyWithoutModificationRight(self): def test_copyWithoutModificationRight(self):
......
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