diff --git a/tests/Composer/Test/Downloader/XzDownloaderTest.php b/tests/Composer/Test/Downloader/XzDownloaderTest.php index 1cabefb56..d461c4823 100644 --- a/tests/Composer/Test/Downloader/XzDownloaderTest.php +++ b/tests/Composer/Test/Downloader/XzDownloaderTest.php @@ -36,6 +36,9 @@ class XzDownloaderTest extends TestCase if (Platform::isWindows()) { $this->markTestSkipped('Skip test on Windows'); } + if (PHP_INT_SIZE === 4) { + $this->markTestSkipped('Skip test on 32bit'); + } $this->testDir = self::getUniqueTmpDirectory(); } diff --git a/tests/Composer/Test/InstallerTest.php b/tests/Composer/Test/InstallerTest.php index 3db9294d7..a7fca8e00 100644 --- a/tests/Composer/Test/InstallerTest.php +++ b/tests/Composer/Test/InstallerTest.php @@ -509,7 +509,7 @@ class InstallerTest extends TestCase try { $testData = self::readTestFile($file, $fixturesDir); // skip 64bit related tests on 32bit - if (str_contains($testData['EXPECT'], 'php-64bit') && PHP_INT_SIZE === 4) { + if (str_contains($testData['EXPECT-OUTPUT'], 'php-64bit') && PHP_INT_SIZE === 4) { continue; }