diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-10-24 01:29:23 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-10-25 11:50:31 +0300 |
commit | 6a648a9ae96c5892a1285a96bb5d0f2bba842672 (patch) | |
tree | e983203943e4413dce2ea9fd2b74438794018323 /tests | |
parent | 93a62381aedc1b5d4d6cf807144d164b4cb90070 (diff) |
accept SHA256 hash sums for reference id as documented
- also use them for chat
- cf. https://github.com/nextcloud/spreed/blob/40caf331092c9dd5d23f1365d7fb4f0768d06b50/docs/chat.md
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/features/chat/reference-id.feature | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/integration/features/chat/reference-id.feature b/tests/integration/features/chat/reference-id.feature index da137110c..9b3514a5a 100644 --- a/tests/integration/features/chat/reference-id.feature +++ b/tests/integration/features/chat/reference-id.feature @@ -28,9 +28,9 @@ Feature: chat/reference-id Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | - When user "participant1" sends message "Message 1" with reference id "1234567890123456789012345678901234567890" to room "group room" with 201 - When user "participant1" sends message "Message 2" with reference id "too long ref is cut off 123456789012345678901234567890" to room "group room" with 201 + When user "participant1" sends message "Message 1" with reference id "f0a1611b73992b57a8533c7f618bbd145b17ef62238ece5bda548f47c76c02b2" to room "group room" with 201 + When user "participant1" sends message "Message 2" with reference id "too long ref is cut off f0a1611b73992b57a8533c7f618bbd145b17ef62238ece5bda548f47c76c02b2" to room "group room" with 201 Then user "participant1" sees the following messages in room "group room" with 200 | room | actorType | actorId | actorDisplayName | message | messageParameters | referenceId | - | group room | users | participant1 | participant1-displayname | Message 2 | [] | too long ref is cut off 1234567890123456 | - | group room | users | participant1 | participant1-displayname | Message 1 | [] | 1234567890123456789012345678901234567890 | + | group room | users | participant1 | participant1-displayname | Message 2 | [] | too long ref is cut off f0a1611b73992b57a8533c7f618bbd145b17ef62 | + | group room | users | participant1 | participant1-displayname | Message 1 | [] | f0a1611b73992b57a8533c7f618bbd145b17ef62238ece5bda548f47c76c02b2 | |