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
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-01-12 15:50:43 +0300
committerGitHub <noreply@github.com>2022-01-12 15:50:43 +0300
commit51d4f30e9bedc4ec482351f265c423a9ab531be7 (patch)
treed2c6e5776315bb44e3d30e7a98cba5408673132d /tests
parent1bb4b65a7707dcab96fa58888165331999af442a (diff)
parent79871584383599e7c62fd18f222318e9cb9195dd (diff)
Merge pull request #30610 from nextcloud/backport/30588/stable22
[stable22] Fix undefined/unset scope in account properties
Diffstat (limited to 'tests')
-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],
];