aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/User_LDAPTest.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-04-04 17:37:19 +0200
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-04-09 10:01:47 +0200
commitd4229f9f590a2c3107906c21116d05edc7f13127 (patch)
treec13ba834502a151e04b0ee7a1bf1b61506cf8de8 /apps/user_ldap/tests/User_LDAPTest.php
parent0f348516d2c2f9fcd089b224d54312198dcf4b85 (diff)
downloadnextcloud-server-d4229f9f590a2c3107906c21116d05edc7f13127.tar.gz
nextcloud-server-d4229f9f590a2c3107906c21116d05edc7f13127.zip
fix(user_ldap): Fix tests using wrong types
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap/tests/User_LDAPTest.php')
-rw-r--r--apps/user_ldap/tests/User_LDAPTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/tests/User_LDAPTest.php b/apps/user_ldap/tests/User_LDAPTest.php
index 35c692d634f..be892e1607f 100644
--- a/apps/user_ldap/tests/User_LDAPTest.php
+++ b/apps/user_ldap/tests/User_LDAPTest.php
@@ -320,7 +320,7 @@ class User_LDAPTest extends TestCase {
->willReturn($mapping);
$this->connection->expects($this->any())
->method('getConnectionResource')
- ->willReturn('this is an ldap link');
+ ->willReturn(ldap_connect('ldap://example.com'));
$this->deletedUsersIndex->expects($this->once())
->method('isUserMarked')