Commit 1534ac05 authored by Jérome Perrin's avatar Jérome Perrin

Fix one part of testUNG that was just working by chance

The same mistake seem to be present in other parts of this test.
parent 2c9ba715
......@@ -259,7 +259,9 @@ class TestUNG(ERP5TypeTestCase):
self.changeSkin("UNGDoc")
portal.event_module.EventModule_createNewEvent()
self.tic()
event = portal.portal_catalog.getResultValue(portal_type="Note")
event = portal.portal_catalog.getResultValue(
portal_type="Note",
title='Buy Phone' )
self.assertEquals(event.getDescription(), "testUNG Sample")
start_date = event.getStartDate()
self.assertEquals(start_date.month(), 2)
......
410
\ No newline at end of file
411
\ No newline at end of file
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