diff options
author | Vitor Mattos <vitor@php.rio> | 2023-05-03 06:56:43 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2023-05-03 06:56:43 -0300 |
commit | ee52c47523ade345991e71b730f437cc3ba5abad (patch) | |
tree | 01d1af00cb82443668e6a600666fd186a2b16cbb /tests/integration | |
parent | 0ce23663e3aa5870b5cd0cd2db4e012dc811d40b (diff) |
Return isCustomAvatar=false when the name of room start with an avatar
Didn't make sense to return true because this property is only used to
display the trash icon to remove the customized avatar.
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/features/conversation/avatar.feature | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/features/conversation/avatar.feature b/tests/integration/features/conversation/avatar.feature index 27e56f354..861f75795 100644 --- a/tests/integration/features/conversation/avatar.feature +++ b/tests/integration/features/conversation/avatar.feature @@ -62,7 +62,7 @@ Feature: conversation/avatar | avatarVersion | NOT_EMPTY | | isCustomAvatar | 0 | - Scenario: Conversation that the name start with emoji need to have custom avatar + Scenario: Conversation that the name start with emoji dont need to have custom avatar Given user "participant1" creates room "room1" (v4) | roomType | 3 | | roomName | room1 | @@ -79,7 +79,7 @@ Feature: conversation/avatar And user "participant1" renames room "room1" to "💙room2" with 200 (v4) And user "participant1" gets room "room1" with 200 (v4) | avatarVersion | NOT_EMPTY | - | isCustomAvatar | 1 | + | isCustomAvatar | 0 | | displayName | 💙room2 | Then the room "room1" has an avatar with 200 And user "participant1" renames room "room1" to "room1" with 200 (v4) |