Skip to content

Commit 487980c

Browse files
committed
phpunit fix
1 parent f8801e2 commit 487980c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/SPC/util/ConfigValidatorTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ public function testValidateSourceGood(): void
5050
'filename' => 'test.tar.gz',
5151
'path' => 'test/path',
5252
'provide-pre-built' => true,
53-
'prefer-stable' => false,
5453
'license' => [
5554
'type' => 'file',
5655
'path' => 'LICENSE',

tests/SPC/util/SPCConfigUtilTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ public function testConstruct(): void
4444

4545
public function testConfig(): void
4646
{
47+
if (PHP_OS_FAMILY !== 'Linux') {
48+
$this->markTestSkipped('SPCConfigUtil tests are only applicable on Linux.');
49+
}
4750
// normal
4851
$result = (new SPCConfigUtil())->config(['bcmath']);
4952
$this->assertStringContainsString(BUILD_ROOT_PATH . '/include', $result['cflags']);

0 commit comments

Comments
 (0)