2014-11-05 07:05:07 -05:00
|
|
|
<?php
|
2024-05-29 05:32:54 -04:00
|
|
|
|
2025-05-28 03:50:46 -04:00
|
|
|
declare(strict_types=1);
|
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;
|
2025-08-14 12:52:37 -04:00
|
|
|
use OCP\IAppConfig;
|
|
|
|
|
use OCP\ICacheFactory;
|
2024-10-10 06:40:31 -04:00
|
|
|
use OCP\IDBConnection;
|
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
|
|
|
*
|
|
|
|
|
*
|
2016-05-12 11:14:59 -04:00
|
|
|
* @package OCA\User_LDAP\Tests\Mapping
|
2015-11-25 10:58:54 -05:00
|
|
|
*/
|
2026-01-07 08:21:48 -05:00
|
|
|
#[\PHPUnit\Framework\Attributes\Group(name: 'DB')]
|
2025-05-28 03:50:46 -04:00
|
|
|
class UserMappingTest extends AbstractMappingTestCase {
|
2025-08-14 12:52:37 -04:00
|
|
|
public function getMapper(IDBConnection $dbMock, ICacheFactory $cacheFactory, IAppConfig $appConfig): UserMapping {
|
|
|
|
|
return new UserMapping($dbMock, $cacheFactory, $appConfig, true, $this->createMock(IAssertion::class));
|
2014-11-05 07:05:07 -05:00
|
|
|
}
|
|
|
|
|
}
|