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
alecs_myu
erp5
Commits
443da0e4
Commit
443da0e4
authored
Dec 17, 2013
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make sure content-type is copied from notification message
parent
8b6c81ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/tests/testCRM.py
product/ERP5/tests/testCRM.py
+2
-2
No files found.
product/ERP5/tests/testCRM.py
View file @
443da0e4
...
...
@@ -465,7 +465,6 @@ class TestCRM(BaseTestCRM):
Check that configuring the Event Path on Campaign, all events are
created according to the domain selected
"""
skin_folder
=
self
.
portal
.
portal_skins
.
custom
mapping_method_id
=
"NotificationMessage_getSubstitutionMappingDictFromEvent"
portal
=
self
.
portal
notification_message_reference
=
'campaign-Event.Path'
...
...
@@ -515,7 +514,8 @@ class TestCRM(BaseTestCRM):
self
.
assertEquals
(
destination_list
,
[
first_user
])
mail_message
=
event_list
[
0
]
self
.
assertEquals
(
sender
.
getRelativeUrl
(),
mail_message
.
getSource
())
self
.
assertEquals
(
mail_message
.
getTextContent
(),
"Hello %s
\
n
"
%
first_user
.
getTitle
())
self
.
assertEquals
(
mail_message
.
getTextFormat
(),
"text/html"
)
self
.
assertEquals
(
mail_message
.
getTextContent
(),
"Hello %s"
%
first_user
.
getTitle
())
self
.
assertEquals
(
mail_message
.
getResourceValue
(),
service
)
campaign
=
portal
.
campaign_module
.
newContent
(
portal_type
=
"Campaign"
,
...
...
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