diff --git a/tests/Feature/DockerCommandsTest.php b/tests/Feature/DockerCommandsTest.php index 14f287590..3f3595f59 100644 --- a/tests/Feature/DockerCommandsTest.php +++ b/tests/Feature/DockerCommandsTest.php @@ -37,6 +37,11 @@ "docker rm $(docker ps --filter='name={$coolifyNamePrefix}*' -aq)", ], $host); + throw_if( + $activity->getExtraProperty('exitCode') !== 0, + new RuntimeException($activity->description), + ); + expect($activity->getExtraProperty('exitCode'))->toBe(0); // Assert there's no containers start with coolify_test_*