From 426c1cea66eb197bf699bce2e3b4f10782f9b094 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Fri, 28 Oct 2022 13:16:09 -0400 Subject: [PATCH] Add comments --- app/Providers/RouteServiceProvider.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index ad0bc16a9..92d36589d 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -113,6 +113,7 @@ class RouteServiceProvider extends ServiceProvider // Node Ping Test Helper private function duskBoot() { + // Make sure we're only running in the Dusk testing environment if (!app()->environment('dusk')) { return; } @@ -126,6 +127,7 @@ class RouteServiceProvider extends ServiceProvider 'cpu_count' => 2, ]); + // Simulate Successful Server Creation Route::post('/api/servers', fn () => []); } }