From 5c531433587b6c7a3e68fe17f0130f59a15508dd Mon Sep 17 00:00:00 2001 From: marcelmanzel Date: Mon, 20 Nov 2023 11:24:02 +0100 Subject: [PATCH] OXDEV-7456: Remove unused method getFetchOneQueryBuilderFactoryMock --- .../GetThemeSettingRepositoryTest.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/Unit/Infrastructure/GetThemeSettingRepositoryTest.php b/tests/Unit/Infrastructure/GetThemeSettingRepositoryTest.php index a65957a..243c425 100644 --- a/tests/Unit/Infrastructure/GetThemeSettingRepositoryTest.php +++ b/tests/Unit/Infrastructure/GetThemeSettingRepositoryTest.php @@ -334,20 +334,6 @@ public function testGetNoSettingsList(): void $repository->getSettingsList('awesomeTheme'); } - /** - * @param string|bool $returnedValue - * @return QueryBuilderFactoryInterface|(QueryBuilderFactoryInterface&MockObject)|MockObject - */ - private function getFetchOneQueryBuilderFactoryMock( - string|bool $returnedValue - ): QueryBuilderFactoryInterface|MockObject { - $result = $this->createMock(Result::class); - $result->expects($this->once()) - ->method('fetchOne') - ->willReturn($returnedValue); - return $this->getQueryBuilderFactoryMock($result); - } - /** * @param Result|MockObject|(Result&MockObject) $result * @return QueryBuilderFactoryInterface|(QueryBuilderFactoryInterface&MockObject)|MockObject