Skip to content

Commit

Permalink
Fix integration tester PHP_OS_FAMILY detection
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Dec 11, 2023
1 parent 095443e commit a344f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Test/AbstractIntegrationTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down

0 comments on commit a344f45

Please sign in to comment.