Commit 2cbd5640 authored by Jérome Perrin's avatar Jérome Perrin

officejs_support_request_ui: typo in Post_ingestWebMessageForSupportRequest script name

This script creates Web Message, not Mail Message
parent fb733871
Pipeline #15677 failed with stage
...@@ -64,7 +64,7 @@ post.activate( ...@@ -64,7 +64,7 @@ post.activate(
# XXX This API is not agreed. Also, we need to consider the possibility # XXX This API is not agreed. Also, we need to consider the possibility
# of ingesting posts through alarm, which is required when we want to ingest # of ingesting posts through alarm, which is required when we want to ingest
# post without owners (from anoymous users). # post without owners (from anoymous users).
).Post_ingestMailMessageForSupportRequest( ).Post_ingestWebMessageForSupportRequest(
web_site_relative_url=web_site_relative_url) web_site_relative_url=web_site_relative_url)
# to be able to display the just posted data in SupportRequest_getCommentPostListAsJson, # to be able to display the just posted data in SupportRequest_getCommentPostListAsJson,
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>Post_ingestMailMessageForSupportRequest</string> </value> <value> <string>Post_ingestWebMessageForSupportRequest</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -594,8 +594,8 @@ class TestSupportRequestRSSSNonVisibleAttachment(SupportRequestRSSTestCase, Defa ...@@ -594,8 +594,8 @@ class TestSupportRequestRSSSNonVisibleAttachment(SupportRequestRSSTestCase, Defa
class TestIngestPostAsWebMessage(SupportRequestTestCase): class TestIngestPostAsWebMessage(SupportRequestTestCase):
"""Tests ingesting HTML Post into web messages. """Tests ingesting HTML Post into web messages.
""" """
def test_Post_ingestMailMessageForSupportRequest_as_other_user(self): def test_Post_ingestWebMessageForSupportRequest_as_other_user(self):
"""Post_ingestMailMessageForSupportRequest should be able to ingest an HTML """Post_ingestWebMessageForSupportRequest should be able to ingest an HTML
Post created by another user, so that we can run int in an alarm for example. Post created by another user, so that we can run int in an alarm for example.
""" """
support_request = self.portal.support_request_module.erp5_officejs_support_request_ui_test_support_reuqest_001 support_request = self.portal.support_request_module.erp5_officejs_support_request_ui_test_support_reuqest_001
...@@ -610,7 +610,7 @@ class TestIngestPostAsWebMessage(SupportRequestTestCase): ...@@ -610,7 +610,7 @@ class TestIngestPostAsWebMessage(SupportRequestTestCase):
manager_user_id = 'ERP5TypeTestCase' manager_user_id = 'ERP5TypeTestCase'
self.login(manager_user_id) self.login(manager_user_id)
post.Post_ingestMailMessageForSupportRequest( post.Post_ingestWebMessageForSupportRequest(
web_site_relative_url=self.getWebSite().getRelativeUrl()) web_site_relative_url=self.getWebSite().getRelativeUrl())
self.tic() self.tic()
......
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