Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions test/integration/Command/ShowCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

use function get_loaded_extensions;
use function phpversion;
use function str_contains;

use const PHP_VERSION_ID;

Expand Down Expand Up @@ -70,6 +71,12 @@ public function testExecuteWithAvailableUpdates(): void
]);
$installCommand->assertCommandIsSuccessful();

$outputString = $installCommand->getDisplay();

if (str_contains($outputString, 'NOT been automatically')) {
self::markTestSkipped('PIE couldn\'t automatically enable the extension');
}

PieJsonEditor::fromTargetPlatform(
PiePlatform\TargetPlatform::fromPhpBinaryPath(
PiePlatform\TargetPhp\PhpBinaryPath::fromPhpConfigExecutable(
Expand Down