From aa5f037af71c915424c6dcfd5ad2dc82797dc0d6 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 23 Nov 2023 10:22:34 +0100 Subject: chore: apply changes from Nextcloud coding standards 1.1.1 Signed-off-by: Joas Schilling Signed-off-by: Benjamin Gaussorgues --- apps/updatenotification/tests/Settings/AdminTest.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'apps/updatenotification/tests') diff --git a/apps/updatenotification/tests/Settings/AdminTest.php b/apps/updatenotification/tests/Settings/AdminTest.php index 784e56e79ed..bdde25aceca 100644 --- a/apps/updatenotification/tests/Settings/AdminTest.php +++ b/apps/updatenotification/tests/Settings/AdminTest.php @@ -29,9 +29,11 @@ declare(strict_types=1); */ namespace OCA\UpdateNotification\Tests\Settings; +use OC\User\Backend; use OCA\UpdateNotification\Settings\Admin; use OCA\UpdateNotification\UpdateChecker; use OCP\AppFramework\Http\TemplateResponse; +use OCP\AppFramework\Services\IInitialState; use OCP\IConfig; use OCP\IDateTimeFormatter; use OCP\IGroup; @@ -40,11 +42,9 @@ use OCP\IUserManager; use OCP\L10N\IFactory; use OCP\L10N\ILanguageIterator; use OCP\Support\Subscription\IRegistry; -use OCP\UserInterface; use OCP\User\Backend\ICountUsersBackend; -use OCP\AppFramework\Services\IInitialState; +use OCP\UserInterface; use OCP\Util; -use OC\User\Backend; use Psr\Log\LoggerInterface; use Test\TestCase; @@ -84,11 +84,11 @@ class AdminTest extends TestCase { $this->initialState = $this->createMock(IInitialState::class); $this->admin = new Admin( - $this->config, - $this->updateChecker, - $this->groupManager, - $this->dateTimeFormatter, - $this->l10nFactory, + $this->config, + $this->updateChecker, + $this->groupManager, + $this->dateTimeFormatter, + $this->l10nFactory, $this->subscriptionRegistry, $this->userManager, $this->logger, -- cgit v1.2.3