2014-11-05 07:05:07 -05:00
|
|
|
<?php
|
2024-05-29 05:32:54 -04:00
|
|
|
|
2014-11-05 07:05:07 -05:00
|
|
|
/**
|
2024-05-29 05:32:54 -04: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 06:44:34 -04:00
|
|
|
*/
|
2016-05-12 11:14:59 -04:00
|
|
|
namespace OCA\User_LDAP\Tests\Mapping;
|
2014-11-05 07:05:07 -05:00
|
|
|
|
|
|
|
|
use OCA\User_LDAP\Mapping\UserMapping;
|
2022-09-06 16:34:54 -04:00
|
|
|
use OCP\Support\Subscription\IAssertion;
|
2014-11-05 07:05:07 -05:00
|
|
|
|
2015-11-25 10:58:54 -05:00
|
|
|
/**
|
2016-05-12 11:14:59 -04:00
|
|
|
* Class UserMappingTest
|
2015-11-25 10:58:54 -05:00
|
|
|
*
|
|
|
|
|
* @group DB
|
|
|
|
|
*
|
2016-05-12 11:14:59 -04:00
|
|
|
* @package OCA\User_LDAP\Tests\Mapping
|
2015-11-25 10:58:54 -05:00
|
|
|
*/
|
2016-05-12 11:14:59 -04:00
|
|
|
class UserMappingTest extends AbstractMappingTest {
|
2014-11-05 07:05:07 -05:00
|
|
|
public function getMapper(\OCP\IDBConnection $dbMock) {
|
2022-09-06 16:34:54 -04:00
|
|
|
return new UserMapping($dbMock, $this->createMock(IAssertion::class));
|
2014-11-05 07:05:07 -05:00
|
|
|
}
|
|
|
|
|
}
|