Commit 1c953d82 authored by Nicolas Dumazet's avatar Nicolas Dumazet

synchronize with r41333: getShopUrl() now returns an absolute url

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41482 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2dc55a54
No related merge requests found
...@@ -918,7 +918,7 @@ class TestCommerce(ERP5TypeTestCase): ...@@ -918,7 +918,7 @@ class TestCommerce(ERP5TypeTestCase):
""" """
product = self.getDefaultProduct() product = self.getDefaultProduct()
self.assertEquals(product.Resource_getShopUrl(), self.assertEquals(product.Resource_getShopUrl(),
'%s/%s' % (product.getRelativeUrl(), 'Resource_viewAsShop')) '%s/%s' % (product.absolute_url(), 'Resource_viewAsShop'))
@newSimulationExpectedFailure @newSimulationExpectedFailure
def test_28_finalizeShoppingWithComment(self): def test_28_finalizeShoppingWithComment(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