2017-02-17 12:45:33 -05:00
|
|
|
<?php
|
2025-05-28 03:50:46 -04:00
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
2017-02-17 12:45:33 -05:00
|
|
|
/**
|
2024-05-29 05:32:54 -04:00
|
|
|
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2017-02-17 12:45:33 -05:00
|
|
|
*/
|
2025-05-28 03:50:46 -04:00
|
|
|
namespace OCA\User_LDAP\Tests\Migration;
|
2017-02-17 12:45:33 -05:00
|
|
|
|
|
|
|
|
use OCA\User_LDAP\Group_Proxy;
|
2019-11-22 14:52:10 -05:00
|
|
|
use OCA\User_LDAP\Mapping\GroupMapping;
|
|
|
|
|
use OCA\User_LDAP\Migration\UUIDFixGroup;
|
2017-02-17 12:45:33 -05:00
|
|
|
|
2017-02-17 14:12:30 -05:00
|
|
|
/**
|
|
|
|
|
* Class UUIDFixGroupTest
|
|
|
|
|
*
|
|
|
|
|
* @package OCA\Group_LDAP\Tests\Migration
|
|
|
|
|
*/
|
2026-01-07 08:21:48 -05:00
|
|
|
#[\PHPUnit\Framework\Attributes\Group(name: 'DB')]
|
2025-05-28 03:50:46 -04:00
|
|
|
class UUIDFixGroupTest extends AbstractUUIDFixTestCase {
|
2019-11-27 09:27:18 -05:00
|
|
|
protected function setUp(): void {
|
2017-02-17 12:45:33 -05:00
|
|
|
$this->isUser = false;
|
|
|
|
|
parent::setUp();
|
|
|
|
|
|
|
|
|
|
$this->mapper = $this->createMock(GroupMapping::class);
|
2020-10-22 05:25:33 -04:00
|
|
|
$this->proxy = $this->createMock(Group_Proxy::class);
|
2017-02-17 12:45:33 -05:00
|
|
|
|
|
|
|
|
$this->instantiateJob(UUIDFixGroup::class);
|
|
|
|
|
}
|
|
|
|
|
}
|