Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

wip

Joao Patricioae0bb7727b36
diff --git a/tests/Feature/DockerCommandsTest.php b/tests/Feature/DockerCommandsTest.php
index 14f2875906..3f3595f596 100644
--- a/tests/Feature/DockerCommandsTest.php
+++ b/tests/Feature/DockerCommandsTest.php
@@ -37,6 +37,11 @@ it('starts a docker container correctly', function () {
"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_*