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-07-07 18:02:04 +0300
committerJoas Schilling <coding@schilljs.com>2021-07-07 18:02:04 +0300
commitb138414888dc8a558bacd9cfe3cf6735117f40b7 (patch)
treef135bdb871f1f2ef2497d9dc341e89c767d9c5d5 /tests
parent31a32b678086a6d70e7a3f4635cdb04a2b38b7b7 (diff)
Change system message string
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/features/chat/delete.feature4
-rw-r--r--tests/php/Chat/ChatManagerTest.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/integration/features/chat/delete.feature b/tests/integration/features/chat/delete.feature
index 5096ce582..518c0f173 100644
--- a/tests/integration/features/chat/delete.feature
+++ b/tests/integration/features/chat/delete.feature
@@ -203,7 +203,7 @@ Feature: chat/reply
| room | actorType | actorId | actorDisplayName | message | messageParameters |
Then user "participant1" sees the following system messages in room "room1" with 200 (v1)
| room | actorType | actorId | actorDisplayName | systemMessage |
- | room1 | users | participant1 | participant1-displayname | cleared_history |
+ | room1 | users | participant1 | participant1-displayname | history_cleared |
Then user "participant2" sees the following system messages in room "room1" with 200 (v1)
| room | actorType | actorId | actorDisplayName | systemMessage |
- | room1 | users | participant1 | participant1-displayname | cleared_history |
+ | room1 | users | participant1 | participant1-displayname | history_cleared |
diff --git a/tests/php/Chat/ChatManagerTest.php b/tests/php/Chat/ChatManagerTest.php
index d64e5f04b..ea58a8b59 100644
--- a/tests/php/Chat/ChatManagerTest.php
+++ b/tests/php/Chat/ChatManagerTest.php
@@ -427,7 +427,7 @@ class ChatManagerTest extends TestCase {
$chat,
'users',
'admin',
- json_encode(['message' => 'cleared_history', 'parameters' => []]),
+ json_encode(['message' => 'history_cleared', 'parameters' => []]),
$date,
false
);