Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-01-12 15:51:07 +0300
committerGitHub <noreply@github.com>2022-01-12 15:51:07 +0300
commitb89e7439764e947c160b2116ad15c9b5fb4a649f (patch)
treee7626c8780b99ac60e2bfdf8a2cfd1938d98e979 /tests/lib
parent141524a0e2f6a9e5c59499fa3c9fcda3c036a7ed (diff)
parent08037eac25a1d751a50e7e11e9a555520995356c (diff)
Merge pull request #30611 from nextcloud/backport/30588/stable23
[stable23] Fix undefined/unset scope in account properties
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/Accounts/AccountPropertyTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Accounts/AccountPropertyTest.php b/tests/lib/Accounts/AccountPropertyTest.php
index c2ba96ef8a5..55f83513349 100644
--- a/tests/lib/Accounts/AccountPropertyTest.php
+++ b/tests/lib/Accounts/AccountPropertyTest.php
@@ -84,8 +84,8 @@ class AccountPropertyTest extends TestCase {
[IAccountManager::VISIBILITY_PRIVATE, IAccountManager::SCOPE_LOCAL],
[IAccountManager::VISIBILITY_CONTACTS_ONLY, IAccountManager::SCOPE_FEDERATED],
[IAccountManager::VISIBILITY_PUBLIC, IAccountManager::SCOPE_PUBLISHED],
+ ['', IAccountManager::SCOPE_LOCAL],
// invalid values
- ['', null],
['unknown', null],
['v2-unknown', null],
];