mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
There are still 1200 more to fix before we can enable static analysis for the tests. Signed-off-by: Carl Schwan <carlschwan@kde.org>
27 lines
735 B
PHP
27 lines
735 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
/**
|
|
* SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
namespace OCA\User_LDAP\Tests\Mapping;
|
|
|
|
use OCA\User_LDAP\Mapping\GroupMapping;
|
|
use OCP\IAppConfig;
|
|
use OCP\ICacheFactory;
|
|
use OCP\IDBConnection;
|
|
|
|
/**
|
|
* Class GroupMappingTest
|
|
*
|
|
*
|
|
* @package OCA\User_LDAP\Tests\Mapping
|
|
*/
|
|
#[\PHPUnit\Framework\Attributes\Group(name: 'DB')]
|
|
class GroupMappingTest extends AbstractMappingTestCase {
|
|
public function getMapper(IDBConnection $dbMock, ICacheFactory $cacheFactory, IAppConfig $appConfig): GroupMapping {
|
|
return new GroupMapping($dbMock, $cacheFactory, $appConfig, true);
|
|
}
|
|
}
|