Commit 7ed4d8dd authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_advanced_ecommerce&test: fix random failed tests

parent 1b5e3c72
Pipeline #17455 failed with stage
in 0 seconds
...@@ -19,7 +19,7 @@ if payment_mode: ...@@ -19,7 +19,7 @@ if payment_mode:
reference = '%s_%s' % (reference, payment_mode.lower()) reference = '%s_%s' % (reference, payment_mode.lower())
sale_trade_condition = portal.portal_catalog.getResultValue( sale_trade_condition = portal.portal_catalog.getResultValue(
portal_type='Sale Trade Condition', portal_type='Sale Trade Condition',
reference='%' + reference + '%', reference=reference + '%',
validation_state='published', validation_state='published',
limit=1, limit=1,
sort_on=(('version', 'descending'),)) sort_on=(('version', 'descending'),))
......
...@@ -30,6 +30,8 @@ ...@@ -30,6 +30,8 @@
<tal:block metal:use-macro="here/ZuiteAdvancedECommerce_CommonTemplate/macros/reset_shopcart" /> <tal:block metal:use-macro="here/ZuiteAdvancedECommerce_CommonTemplate/macros/reset_shopcart" />
<tal:block metal:use-macro="here/ZuiteAdvancedECommerce_CommonTemplate/macros/disable_loyalty_reward_by_default" />
<tr> <tr>
<td>setTimeout</td> <td>setTimeout</td>
<td>300000</td> <td>300000</td>
......
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