aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJake Nabasny <jake@nabasny.com>2023-11-28 11:01:52 -0500
committerRichard Steinmetz <richard@steinmetz.cloud>2024-05-30 12:01:13 +0200
commitf863290572ff91d9a8a8d6cb2ad819964c3a1426 (patch)
tree389883fb9a18bdb2dbcd466bd0f46fe9ff7b82b8 /tests
parent57a7f09a722c384cb3940c19ed2d00d5b9ec925c (diff)
downloadnextcloud-server-f863290572ff91d9a8a8d6cb2ad819964c3a1426.tar.gz
nextcloud-server-f863290572ff91d9a8a8d6cb2ad819964c3a1426.zip
feat(ldap): sync additional properties to profile and SAB
Synced from LDAP to profile: - Date of birth Synced from LDAP to SAB (via the profile): - Biography - Date of birth Original code by Jake Nabasny (GitHub: @slapcat) Co-authored-by: Jake Nabasny <jake@nabasny.com> Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to 'tests')
-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 0a29ff02d30..da31c77abc6 100644
--- a/tests/lib/Accounts/AccountManagerTest.php
+++ b/tests/lib/Accounts/AccountManagerTest.php
@@ -617,6 +617,12 @@ class AccountManagerTest extends TestCase {
],
[
+ 'name' => IAccountManager::PROPERTY_BIRTHDATE,
+ 'value' => '',
+ 'scope' => IAccountManager::SCOPE_LOCAL,
+ ],
+
+ [
'name' => IAccountManager::PROPERTY_PROFILE_ENABLED,
'value' => '1',
],