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.

test(server): fake sleep in the functional recheck tests

Andras Bacsai6bc083eee6bc
diff --git a/tests/Feature/ServerFunctionalRecheckTest.php b/tests/Feature/ServerFunctionalRecheckTest.php
index 8e1b09bdc9..a3629edc37 100644
--- a/tests/Feature/ServerFunctionalRecheckTest.php
+++ b/tests/Feature/ServerFunctionalRecheckTest.php
@@ -6,12 +6,14 @@ use App\Models\Team;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\Process;
use Illuminate\Support\Facades\Storage;
+use Illuminate\Support\Sleep;
uses(RefreshDatabase::class);
beforeEach(function () {
Storage::fake('ssh-keys');
Storage::fake('ssh-mux');
+ Sleep::fake();
});
function createServerForFunctionalRecheckTest(array $settings): Server