diff --git a/tests/Maker/MakeFunctionalTestTest.php b/tests/Maker/MakeFunctionalTestTest.php index c4e6ff1fe..7e7898c41 100644 --- a/tests/Maker/MakeFunctionalTestTest.php +++ b/tests/Maker/MakeFunctionalTestTest.php @@ -17,6 +17,7 @@ /** * @group legacy + * @requires OSFAMILY Linux */ class MakeFunctionalTestTest extends MakerTestCase { @@ -28,22 +29,11 @@ protected function getMakerClass(): string public function getTestDetails() { yield 'it_generates_test_with_panther' => [$this->createMakerTest() - ->preRun(function () { - dump(['SKIP_TEST_PRERUN' => $_SERVER['MAKER_SKIP_PANTHER_TEST']]); - - if ($_SERVER['MAKER_SKIP_PANTHER_TEST'] ?? false) { - $this->markTestSkipped('Panther test skipped - MAKER_SKIP_PANTHER_TEST set to TRUE.'); - } - }) /* @legacy Allows Panther >= 1.x to be installed. (PHP <8.0 support) */ ->skipOnSymfony7() // legacy remove when panther supports Symfony 7 ->addExtraDependencies('panther:*') ->run(function (MakerTestRunner $runner) { - dump(['SKIP_TEST_PRERUN' => $_SERVER['MAKER_SKIP_PANTHER_TEST']]); - - if ($_SERVER['MAKER_SKIP_PANTHER_TEST'] ?? false) { - $this->markTestSkipped('Panther test skipped - MAKER_SKIP_PANTHER_TEST set to TRUE.'); - } + self::assertTrue(true); $runner->copy( 'make-functional/MainController.php', 'src/Controller/MainController.php'