Commit f1423558 authored by Lucas Carvalho's avatar Lucas Carvalho

Replace the Web Section name for the form name.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30880 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8bfcaf03
......@@ -720,7 +720,9 @@ class TestCommerce(ERP5TypeTestCase):
#6 : paypal step 3 : check if this token is confirmed by paypal
error = self.website.WebSection_checkPaypalIdentification()
self.assertEquals(error, None)
self.assertTrue('/cart' in request.RESPONSE.getHeader('location'))
url_location = request.RESPONSE.getHeader('location')
self.assertTrue('/SaleOrder_viewAsWeb' in url_location)
#7 : paypal step 4 : validate the payment
self.assertEquals(1,
......
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