From 489ac5fa57322a4f2dd1dc5cc5d2f085c575c1b8 Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 21 Nov 2023 14:22:23 +0100 Subject: [PATCH] Reduce Class ref in tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Louis --- apps/settings/tests/Settings/Admin/SharingTest.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/settings/tests/Settings/Admin/SharingTest.php b/apps/settings/tests/Settings/Admin/SharingTest.php index 1f89fde55cf1e..4d546bdc6153f 100644 --- a/apps/settings/tests/Settings/Admin/SharingTest.php +++ b/apps/settings/tests/Settings/Admin/SharingTest.php @@ -61,18 +61,18 @@ class SharingTest extends TestCase { protected function setUp(): void { parent::setUp(); - /** @var IConfig|\PHPUnit\Framework\MockObject\MockObject */ + /** @var IConfig|MockObject */ $this->config = $this->getMockBuilder(IConfig::class)->getMock(); - /** @var IL10N|\PHPUnit\Framework\MockObject\MockObject */ + /** @var IL10N|MockObject */ $this->l10n = $this->getMockBuilder(IL10N::class)->getMock(); - /** @var IManager|\PHPUnit\Framework\MockObject\MockObject */ + /** @var IManager|MockObject */ $this->shareManager = $this->getMockBuilder(IManager::class)->getMock(); - /** @var IAppManager|\PHPUnit\Framework\MockObject\MockObject */ + /** @var IAppManager|MockObject */ $this->appManager = $this->getMockBuilder(IAppManager::class)->getMock(); - /** @var IURLGenerator|\PHPUnit\Framework\MockObject\MockObject */ + /** @var IURLGenerator|MockObject */ $this->urlGenerator = $this->getMockBuilder(IURLGenerator::class)->getMock(); - /** @var IInitialState|\PHPUnit\Framework\MockObject\MockObject */ + /** @var IInitialState|MockObject */ $this->initialState = $this->getMockBuilder(IInitialState::class)->getMock(); $this->admin = new Sharing(