Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
1
Merge Requests
1
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
Romain Courteaud
slapos.core
Commits
65d6db05
Commit
65d6db05
authored
Jan 30, 2013
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suspend automatically created ticket.
parent
e9e11516
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
master/bt5/slapos_payzen/SkinTemplateItem/portal_skins/slapos_payzen/PaymentTransaction_addPayzenTicket.xml
...kins/slapos_payzen/PaymentTransaction_addPayzenTicket.xml
+1
-0
master/bt5/slapos_payzen/TestTemplateItem/testSlapOSPayzenSkins.py
...5/slapos_payzen/TestTemplateItem/testSlapOSPayzenSkins.py
+1
-1
master/bt5/slapos_payzen/bt/revision
master/bt5/slapos_payzen/bt/revision
+1
-1
No files found.
master/bt5/slapos_payzen/SkinTemplateItem/portal_skins/slapos_payzen/PaymentTransaction_addPayzenTicket.xml
View file @
65d6db05
...
...
@@ -75,6 +75,7 @@ else:\n
resource=portal.portal_preferences.getPreferredSupportRequestResource(),\n
)\n
ticket.validate(comment=\'New automatic ticket for %s\' % context.getTitle())\n
ticket.suspend(comment=\'New automatic ticket for %s\' % context.getTitle())\n
\n
try:\n
mapping = integration_site.getCategoryFromMapping(\n
...
...
master/bt5/slapos_payzen/TestTemplateItem/testSlapOSPayzenSkins.py
View file @
65d6db05
...
...
@@ -74,7 +74,7 @@ class TestSlapOSPaymentTransaction_addPayzenTicket(testSlapOSMixin):
transaction
.
edit
(
payment_mode
=
"payzen"
)
ticket
=
transaction
.
PaymentTransaction_addPayzenTicket
()
self
.
assertEquals
(
ticket
.
getPortalType
(),
'Support Request'
)
self
.
assertEquals
(
ticket
.
getSimulationState
(),
'
validat
ed'
)
self
.
assertEquals
(
ticket
.
getSimulationState
(),
'
suspend
ed'
)
self
.
assertEquals
(
ticket
.
getSourceProject
(),
transaction
.
getRelativeUrl
())
self
.
assertEquals
(
ticket
.
getTitle
(),
'Payzen Transaction to check for "None"'
)
...
...
master/bt5/slapos_payzen/bt/revision
View file @
65d6db05
101
\ No newline at end of file
102
\ No newline at end of file
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