1
0
mirror of https://github.com/php/pie.git synced 2026-03-23 23:12:17 +01:00

446: ensure PHP binary tests are only run on Linux

This commit is contained in:
James Titcumb
2026-01-19 18:03:33 +00:00
parent 71f8b753da
commit 5940a6f663

View File

@@ -86,6 +86,7 @@ final class PhpBinaryPathTest extends TestCase
PhpBinaryPath::fromPhpBinaryPath(__FILE__);
}
#[RequiresOperatingSystemFamily('Linux')]
public function testInvalidPhpBinaryIsRejected(): void
{
$this->expectException(InvalidPhpBinaryPath::class);
@@ -93,6 +94,7 @@ final class PhpBinaryPathTest extends TestCase
PhpBinaryPath::fromPhpBinaryPath(self::FAKE_PHP_EXECUTABLE);
}
#[RequiresOperatingSystemFamily('Linux')]
public function testInvalidVersion(): void
{
$phpBinary = PhpBinaryPath::fromPhpBinaryPath(self::PHP_INVALID_VERSION);