feat(user-picker): fix unit tests

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
This commit is contained in:
Julien Veyssier 2026-01-14 13:08:04 +01:00
parent 668db370d2
commit a25578cd57
No known key found for this signature in database
GPG key ID: 4141FEE162030638

View file

@ -1,13 +1,12 @@
<?php
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Contacts\Reference;
namespace OCA\UserPicker\Reference;
use ChristophWurst\Nextcloud\Testing\TestCase;
use OCP\Accounts\IAccount;
use OCP\Accounts\IAccountManager;
use OCP\Accounts\IAccountProperty;
@ -21,7 +20,7 @@ use OCP\IUserManager;
use OCP\Profile\IProfileManager;
use PHPUnit\Framework\MockObject\MockObject;
class ProfilePickerReferenceProviderTest extends TestCase {
class ProfilePickerReferenceProviderTest extends \Test\TestCase {
private string $userId = 'admin';
private IUser|MockObject $adminUser;
private IL10N|MockObject $l10n;