summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/Mapping
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/tests/Mapping')
-rw-r--r--apps/user_ldap/tests/Mapping/UserMappingTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/tests/Mapping/UserMappingTest.php b/apps/user_ldap/tests/Mapping/UserMappingTest.php
index 081266cf3f1..e585fafb134 100644
--- a/apps/user_ldap/tests/Mapping/UserMappingTest.php
+++ b/apps/user_ldap/tests/Mapping/UserMappingTest.php
@@ -24,6 +24,7 @@
namespace OCA\User_LDAP\Tests\Mapping;
use OCA\User_LDAP\Mapping\UserMapping;
+use OCP\Support\Subscription\IAssertion;
/**
* Class UserMappingTest
@@ -34,6 +35,6 @@ use OCA\User_LDAP\Mapping\UserMapping;
*/
class UserMappingTest extends AbstractMappingTest {
public function getMapper(\OCP\IDBConnection $dbMock) {
- return new UserMapping($dbMock);
+ return new UserMapping($dbMock, $this->createMock(IAssertion::class));
}
}