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
|
|
|
*/
|
|
|
|
|
namespace OCA\User_LDAP\Tests\Migration;
|
|
|
|
|
|
|
|
|
|
use OCA\User_LDAP\Mapping\UserMapping;
|
2019-11-22 14:52:10 -05:00
|
|
|
use OCA\User_LDAP\Migration\UUIDFixUser;
|
2017-02-17 12:45:33 -05:00
|
|
|
use OCA\User_LDAP\User_Proxy;
|
|
|
|
|
|
2017-02-17 14:12:30 -05:00
|
|
|
/**
|
|
|
|
|
* Class UUIDFixUserTest
|
|
|
|
|
*
|
|
|
|
|
* @package OCA\User_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 UUIDFixUserTest extends AbstractUUIDFixTestCase {
|
2019-11-27 09:27:18 -05:00
|
|
|
protected function setUp(): void {
|
2017-02-17 12:45:33 -05:00
|
|
|
$this->isUser = true;
|
|
|
|
|
parent::setUp();
|
|
|
|
|
|
|
|
|
|
$this->mapper = $this->createMock(UserMapping::class);
|
2020-10-22 05:25:33 -04:00
|
|
|
$this->proxy = $this->createMock(User_Proxy::class);
|
2017-02-17 12:45:33 -05:00
|
|
|
|
|
|
|
|
$this->instantiateJob(UUIDFixUser::class);
|
|
|
|
|
}
|
|
|
|
|
}
|