Commit e3de4074 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_trade_renderjs_ui_test] Prevent divergency on date

parent ff035382
from DateTime import DateTime
from Products.ERP5Type.DateUtils import getClosestDate
portal = context.getPortalObject()
......@@ -15,7 +15,7 @@ delivery = module.newContent(
portal_type=delivery_portal_type,
id=delivery_id,
title='%s_title' % delivery_id,
start_date=DateTime(),
start_date=getClosestDate(precision='day'),
source_value=source_value,
source_section_value=source_value,
destination_value=destination_value,
......
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