Commit 463b3684 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 015bc1c1
Pipeline #15660 failed with stage
in 0 seconds
......@@ -64,7 +64,7 @@ post.activate(
# 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
# post without owners (from anoymous users).
).Post_ingestMailMessageForSupportRequest(
).Post_ingestWebMessageForSupportRequest(
web_site_relative_url=web_site_relative_url)
# to be able to display the just posted data in SupportRequest_getCommentPostListAsJson,
......
......@@ -54,7 +54,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Post_ingestMailMessageForSupportRequest</string> </value>
<value> <string>Post_ingestWebMessageForSupportRequest</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -594,8 +594,8 @@ class TestSupportRequestRSSSNonVisibleAttachment(SupportRequestRSSTestCase, Defa
class TestIngestPostAsWebMessage(SupportRequestTestCase):
"""Tests ingesting HTML Post into web messages.
"""
def test_Post_ingestMailMessageForSupportRequest_as_other_user(self):
"""Post_ingestMailMessageForSupportRequest should be able to ingest an HTML
def test_Post_ingestWebMessageForSupportRequest_as_other_user(self):
"""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.
"""
support_request = self.portal.support_request_module.erp5_officejs_support_request_ui_test_support_reuqest_001
......@@ -610,7 +610,7 @@ class TestIngestPostAsWebMessage(SupportRequestTestCase):
manager_user_id = 'ERP5TypeTestCase'
self.login(manager_user_id)
post.Post_ingestMailMessageForSupportRequest(
post.Post_ingestWebMessageForSupportRequest(
web_site_relative_url=self.getWebSite().getRelativeUrl())
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