Commit ee3016b4 authored by Łukasz Nowak's avatar Łukasz Nowak

Do not change state of documents in test.

Required notification is validated by Business Template itself.
parent 43d67ce0
...@@ -88,9 +88,6 @@ class TestVifibCredential(testVifibMixin): ...@@ -88,9 +88,6 @@ class TestVifibCredential(testVifibMixin):
self.portal.manage_delObjects(['MailHost']) self.portal.manage_delObjects(['MailHost'])
self.portal._setObject('MailHost', DummyMailHost('MailHost')) self.portal._setObject('MailHost', DummyMailHost('MailHost'))
for notification in self.portal.notification_message_module.objectValues():
if notification.getValidationState() == "draft":
notification.validate()
self.stepTic() self.stepTic()
def testMailMessagePosted(self): def testMailMessagePosted(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