diff options
author | Simon L <szaimen@e.mail.de> | 2022-10-21 18:53:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 18:53:16 +0200 |
commit | 47da08fe850b374d30ef68c55775600747bbd35c (patch) | |
tree | 688cb70faf6517083bb4297a5ff59bb5bdf4b213 /apps/user_ldap/tests | |
parent | 294a00d8e0b87a29c9f9de5de56e84a76c95182b (diff) | |
parent | bff23762d14600efcdc9bec27169d531ec60f16c (diff) | |
download | nextcloud-server-47da08fe850b374d30ef68c55775600747bbd35c.tar.gz nextcloud-server-47da08fe850b374d30ef68c55775600747bbd35c.zip |
Merge pull request #33945 from nextcloud/fix/noid/fair-use-ldap
LDAP to not register new users when outside of fair use or over limits
Diffstat (limited to 'apps/user_ldap/tests')
-rw-r--r-- | apps/user_ldap/tests/Mapping/UserMappingTest.php | 3 |
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)); } } |