aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2024-09-18 11:38:44 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2024-09-18 13:30:33 +0200
commit8fb64b886ad05ace70b9485ec36b6f778dc01925 (patch)
treee471f457c539656c7d7ea2dbe5769d72c6675645 /tests/lib
parentcd3256bf5445c4f2b20af345ab48485f21a45bfe (diff)
downloadnextcloud-server-8fb64b886ad05ace70b9485ec36b6f778dc01925.tar.gz
nextcloud-server-8fb64b886ad05ace70b9485ec36b6f778dc01925.zip
fix(settings): pronouns UsersControllerTest
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/Accounts/AccountManagerTest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib/Accounts/AccountManagerTest.php b/tests/lib/Accounts/AccountManagerTest.php
index ee3c8df0a70..4462c6c0722 100644
--- a/tests/lib/Accounts/AccountManagerTest.php
+++ b/tests/lib/Accounts/AccountManagerTest.php
@@ -626,6 +626,12 @@ class AccountManagerTest extends TestCase {
'name' => IAccountManager::PROPERTY_PROFILE_ENABLED,
'value' => '1',
],
+
+ [
+ 'name' => IAccountManager::PROPERTY_PRONOUNS,
+ 'value' => '',
+ 'scope' => IAccountManager::SCOPE_FEDERATED,
+ ],
];
$this->config->expects($this->once())->method('getSystemValue')->with('account_manager.default_property_scope', [])->willReturn([]);