From a344f45eaea8c31eca1fd02154444e084deb86c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Mon, 11 Dec 2023 03:00:19 +0100 Subject: [PATCH] Fix integration tester PHP_OS_FAMILY detection --- tests/Test/AbstractIntegrationTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Test/AbstractIntegrationTestCase.php b/tests/Test/AbstractIntegrationTestCase.php index 77bc88cf919..45876a1bb0e 100644 --- a/tests/Test/AbstractIntegrationTestCase.php +++ b/tests/Test/AbstractIntegrationTestCase.php @@ -216,7 +216,7 @@ protected function doTest(IntegrationCase $case): void self::markTestSkipped(sprintf('PHP lower than %d is required for "%s", current "%d".', $phpUpperLimit, $case->getFileName(), \PHP_VERSION_ID)); } - if (!\in_array(PHP_OS, $case->getRequirement('os'), true)) { + if (!\in_array(PHP_OS_FAMILY, $case->getRequirement('os'), true)) { self::markTestSkipped( sprintf( 'Unsupported OS (%s) for "%s", allowed are: %s.',