Skip to content

Commit 5755f58

Browse files
committed
[IMP] website_sale: adapt product_configurator_strikethrough_price
1 parent 0973924 commit 5755f58

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

addons/website_sale/tests/test_website_sale_product_configurator.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,6 @@ def test_product_configurator_zero_priced(self):
422422
})
423423
self.start_tour('/', 'website_sale_product_configurator_zero_priced')
424424

425-
# TODO master-mysterious-egg fix error
426-
@unittest.skip("prepare mysterious-egg for merging")
427425
def test_product_configurator_strikethrough_price(self):
428426
""" Test that the product configurator displays the strikethrough price correctly. """
429427
self.env['res.config.settings'].create({'group_product_price_comparison': True}).execute()
@@ -439,7 +437,8 @@ def test_product_configurator_strikethrough_price(self):
439437
main_product = self.env['product.template'].create({
440438
'name': "Main product",
441439
'website_published': True,
442-
'list_price': 100,
440+
'list_price': 50,
441+
'compare_list_price': 110,
443442
'optional_product_ids': [Command.set(optional_product.ids)],
444443
'taxes_id': tax,
445444
})

0 commit comments

Comments
 (0)