Commit 6132e453 authored by Jérome Perrin's avatar Jérome Perrin

fixup! payzen_secure_payment: return fields sorted in _getFieldList

parent 4dafc187
...@@ -156,14 +156,14 @@ class TestERP5PayzenSecurePayment(TestERP5PayzenSecurePaymentMixin): ...@@ -156,14 +156,14 @@ class TestERP5PayzenSecurePayment(TestERP5PayzenSecurePaymentMixin):
result = self.service.navigate(pt_id, {"key": 'value'}) result = self.service.navigate(pt_id, {"key": 'value'})
signature = sha1('value+INTERACTIVE+ERP5+TEST+REGISTER+SINGLE+0123456+V2+' signature = sha1('value+INTERACTIVE+ERP5+TEST+REGISTER+SINGLE+0123456+V2+'
+ self.service_password) + self.service_password)
self.assertEqual(result, """key=vads_site_id value=0123456 self.assertEqual(result, """key=key value=value
key=vads_payment_config value=SINGLE key=signature value=%s
key=vads_action_mode value=INTERACTIVE key=vads_action_mode value=INTERACTIVE
key=vads_contrib value=ERP5 key=vads_contrib value=ERP5
key=vads_page_action value=REGISTER
key=vads_ctx_mode value=TEST key=vads_ctx_mode value=TEST
key=key value=value key=vads_page_action value=REGISTER
key=signature value=%s key=vads_payment_config value=SINGLE
key=vads_site_id value=0123456
key=vads_version value=V2 key=vads_version value=V2
""" % signature) """ % signature)
finally: finally:
......
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