Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
erp5
Commits
6132e453
Commit
6132e453
authored
Mar 03, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! payzen_secure_payment: return fields sorted in _getFieldList
parent
4dafc187
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
bt5/erp5_payzen_secure_payment/TestTemplateItem/portal_components/test.erp5.testERP5PayzenSecurePayment.py
...ortal_components/test.erp5.testERP5PayzenSecurePayment.py
+5
-5
No files found.
bt5/erp5_payzen_secure_payment/TestTemplateItem/portal_components/test.erp5.testERP5PayzenSecurePayment.py
View file @
6132e453
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment