2014-11-05 13:05:07 +01:00
|
|
|
<?php
|
2024-05-29 11:32:54 +02:00
|
|
|
|
2014-11-05 13:05:07 +01:00
|
|
|
/**
|
2024-05-29 11:32:54 +02:00
|
|
|
* SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2015-03-26 11:44:34 +01:00
|
|
|
*/
|
2016-05-12 17:14:59 +02:00
|
|
|
namespace OCA\User_LDAP\Tests\Mapping;
|
2014-11-05 13:05:07 +01:00
|
|
|
|
|
|
|
use OCA\User_LDAP\Mapping\UserMapping;
|
2024-10-10 12:40:31 +02:00
|
|
|
use OCP\IDBConnection;
|
2022-09-06 22:34:54 +02:00
|
|
|
use OCP\Support\Subscription\IAssertion;
|
2014-11-05 13:05:07 +01:00
|
|
|
|
2015-11-25 16:58:54 +01:00
|
|
|
/**
|
2016-05-12 17:14:59 +02:00
|
|
|
* Class UserMappingTest
|
2015-11-25 16:58:54 +01:00
|
|
|
*
|
|
|
|
* @group DB
|
|
|
|
*
|
2016-05-12 17:14:59 +02:00
|
|
|
* @package OCA\User_LDAP\Tests\Mapping
|
2015-11-25 16:58:54 +01:00
|
|
|
*/
|
2016-05-12 17:14:59 +02:00
|
|
|
class UserMappingTest extends AbstractMappingTest {
|
2024-10-10 12:40:31 +02:00
|
|
|
public function getMapper(IDBConnection $dbMock) {
|
2022-09-06 22:34:54 +02:00
|
|
|
return new UserMapping($dbMock, $this->createMock(IAssertion::class));
|
2014-11-05 13:05:07 +01:00
|
|
|
}
|
|
|
|
}
|