summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-02-23 12:58:03 +0100
committerGitHub <noreply@github.com>2023-02-23 12:58:03 +0100
commitd5b7e2a5a100c7b2476a1cad43f00a1b147fe37a (patch)
tree6e88b1ebbdbd6c061a2600c735136c7716b51b62 /tests
parentd49f3ed45c1af414efa2537c217775ba19fb22dc (diff)
parent876f70c22b8a15783aed8b26a19ba54c374b0ef1 (diff)
Merge pull request #8805 from nextcloud/bugfix/8760/remove-avatar-capability
Remove avatar capability
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/features/conversation/breakout-rooms.feature2
-rw-r--r--tests/integration/features/integration/dashboard.feature8
-rw-r--r--tests/php/Activity/Provider/BaseTest.php2
-rw-r--r--tests/php/CapabilitiesTest.php1
4 files changed, 6 insertions, 7 deletions
diff --git a/tests/integration/features/conversation/breakout-rooms.feature b/tests/integration/features/conversation/breakout-rooms.feature
index 65cf19b8a..a5dfa9951 100644
--- a/tests/integration/features/conversation/breakout-rooms.feature
+++ b/tests/integration/features/conversation/breakout-rooms.feature
@@ -509,7 +509,7 @@ Feature: conversation/breakout-rooms
| 2 | class room | 0 | 1 | 0 |
| 2 | Room 1 | 1 | 0 | 0 |
| 2 | Room 2 | 1 | 0 | 0 |
- Then user "participant2" is participant of the following rooms (v4)
+ Then user "participant2" is participant of the following unordered rooms (v4)
| type | name |
| 2 | class room |
| 2 | Room 1 |
diff --git a/tests/integration/features/integration/dashboard.feature b/tests/integration/features/integration/dashboard.feature
index ee312296e..5a6cd2f90 100644
--- a/tests/integration/features/integration/dashboard.feature
+++ b/tests/integration/features/integration/dashboard.feature
@@ -29,7 +29,7 @@ Feature: integration/dashboard
And user "participant2" joins room "call room" with 200 (v4)
And user "participant2" joins call "call room" with 200 (v4)
Then user "participant1" sees the following entries for dashboard widgets "spreed" (v1)
- | title | subtitle | link | iconUrl | sinceId |
- | call room | Call in progress | call room | {$BASE_URL}ocs/v2.php/apps/spreed/api/v1/room/{token}/avatar | |
- | group room | You were mentioned | group room | {$BASE_URL}ocs/v2.php/apps/spreed/api/v1/room/{token}/avatar | |
- | participant2-displayname | Hello | one-to-one room | {$BASE_URL}ocs/v2.php/apps/spreed/api/v1/room/{token}/avatar | |
+ | title | subtitle | link | iconUrl | sinceId |
+ | call room | Call in progress | call room | {$BASE_URL}core/img/actions/public.svg | |
+ | group room | You were mentioned | group room | {$BASE_URL}core/img/actions/group.svg | |
+ | participant2-displayname | Hello | one-to-one room | {$BASE_URL}index.php/avatar/participant2/64 | |
diff --git a/tests/php/Activity/Provider/BaseTest.php b/tests/php/Activity/Provider/BaseTest.php
index a2875081c..529e13985 100644
--- a/tests/php/Activity/Provider/BaseTest.php
+++ b/tests/php/Activity/Provider/BaseTest.php
@@ -228,7 +228,7 @@ class BaseTest extends TestCase {
'name' => $expectedName,
'call-type' => $expectedType,
'link' => 'url',
- 'icon-url' => '',
+ // 'icon-url' => '',
], self::invokePrivate($provider, 'getRoom', [$room, 'user']));
}
diff --git a/tests/php/CapabilitiesTest.php b/tests/php/CapabilitiesTest.php
index 16f86878d..85f308372 100644
--- a/tests/php/CapabilitiesTest.php
+++ b/tests/php/CapabilitiesTest.php
@@ -123,7 +123,6 @@ class CapabilitiesTest extends TestCase {
'talk-polls',
'breakout-rooms-v1',
'recording-v1',
- 'avatar',
'chat-get-context',
'single-conversation-status',
'message-expiration',