Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-05-07 13:43:25 +0300
committerJoas Schilling <coding@schilljs.com>2021-05-07 13:43:25 +0300
commit06da3fdf19bfbf7fe27ba43f462e13990e6416ba (patch)
treeaed695246d98cbf801699bcd9167baa2a7a3fbb6 /tests
parent693c22d9094eb6ea8804493e54990499f9e6c570 (diff)
Remove the description from the system message
Looked a bit too weird in some clients with multiline descriptions and the quotes Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/features/conversation/lobby.feature12
-rw-r--r--tests/php/Chat/Parser/SystemMessageTest.php4
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/integration/features/conversation/lobby.feature b/tests/integration/features/conversation/lobby.feature
index 7e5b7cf33..d729a037d 100644
--- a/tests/integration/features/conversation/lobby.feature
+++ b/tests/integration/features/conversation/lobby.feature
@@ -232,11 +232,11 @@ Feature: conversation/lobby
And user "participant1" sends message "Message 1" to room "room" with 201
And user "participant1" sets description for room "room" to "the description" with 200 (v4)
Then user "participant1" is participant of room "room" (v4)
- | name | description | type | participantType | lastMessage |
- | room | the description | 3 | 1 | You set the description to "the description" |
+ | name | description | type | participantType | lastMessage |
+ | room | the description | 3 | 1 | You set the description |
And user "participant2" is participant of room "room" (v4)
- | name | description | type | participantType | lastMessage |
- | room | the description | 3 | 2 | {actor} set the description to "the description" |
+ | name | description | type | participantType | lastMessage |
+ | room | the description | 3 | 2 | {actor} set the description |
And user "participant3" is participant of room "room" (v4)
| name | description | type | participantType | lastMessage |
| room | the description | 3 | 3 | |
@@ -244,8 +244,8 @@ Feature: conversation/lobby
| name | description | type | participantType | lastMessage |
| room | the description | 3 | 5 | |
And user "guest" is participant of room "room" (v4)
- | name | description | type | participantType | lastMessage |
- | room | the description | 3 | 6 | {actor} set the description to "the description" |
+ | name | description | type | participantType | lastMessage |
+ | room | the description | 3 | 6 | {actor} set the description |
And user "guest2" is participant of room "room" (v4)
| name | description | type | participantType | lastMessage |
| room | the description | 3 | 4 | |
diff --git a/tests/php/Chat/Parser/SystemMessageTest.php b/tests/php/Chat/Parser/SystemMessageTest.php
index 8b86a95cc..2bf100973 100644
--- a/tests/php/Chat/Parser/SystemMessageTest.php
+++ b/tests/php/Chat/Parser/SystemMessageTest.php
@@ -138,11 +138,11 @@ class SystemMessageTest extends TestCase {
['actor' => ['id' => 'actor', 'type' => 'user']],
],
['description_set', ['newDescription' => 'New description'], 'recipient',
- '{actor} set the description to "New description"',
+ '{actor} set the description',
['actor' => ['id' => 'actor', 'type' => 'user']],
],
['description_set', ['newDescription' => 'New description'], 'actor',
- 'You set the description to "New description"',
+ 'You set the description',
['actor' => ['id' => 'actor', 'type' => 'user']],
],
['description_removed', [], 'recipient',