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