From e27370d05c95e5e786fcd3d8a9cc0771a978abed Mon Sep 17 00:00:00 2001 From: Kamil Tekiela Date: Mon, 18 Mar 2024 19:43:27 +0100 Subject: [PATCH] Remove testGetGroup Signed-off-by: Kamil Tekiela --- phpstan-baseline.neon | 5 ----- .../unit/Properties/Options/OptionsPropertyGroupTest.php | 8 -------- 2 files changed, 13 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 2eb699536a..c2a8cbc280 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -16475,11 +16475,6 @@ parameters: count: 1 path: tests/unit/PluginsTest.php - - - message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Properties\\\\\\\\Options\\\\\\\\OptionsPropertyGroup' and PhpMyAdmin\\\\Properties\\\\Options\\\\OptionsPropertyGroup&PHPUnit\\\\Framework\\\\MockObject\\\\MockObject will always evaluate to true\\.$#" - count: 1 - path: tests/unit/Properties/Options/OptionsPropertyGroupTest.php - - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#" count: 1 diff --git a/tests/unit/Properties/Options/OptionsPropertyGroupTest.php b/tests/unit/Properties/Options/OptionsPropertyGroupTest.php index 5aacc0553f..d64cec60df 100644 --- a/tests/unit/Properties/Options/OptionsPropertyGroupTest.php +++ b/tests/unit/Properties/Options/OptionsPropertyGroupTest.php @@ -67,14 +67,6 @@ class OptionsPropertyGroupTest extends AbstractTestCase ); } - public function testGetGroup(): void - { - self::assertInstanceOf( - OptionsPropertyGroup::class, - $this->stub->getGroup(), - ); - } - public function testGetProperties(): void { $propertyItem = new BoolPropertyItem();