Add comments

This commit is contained in:
Lance Pioch 2022-10-28 13:16:09 -04:00
parent f7ed8af52a
commit 426c1cea66

View file

@ -113,6 +113,7 @@ class RouteServiceProvider extends ServiceProvider
// Node Ping Test Helper // Node Ping Test Helper
private function duskBoot() private function duskBoot()
{ {
// Make sure we're only running in the Dusk testing environment
if (!app()->environment('dusk')) { if (!app()->environment('dusk')) {
return; return;
} }
@ -126,6 +127,7 @@ class RouteServiceProvider extends ServiceProvider
'cpu_count' => 2, 'cpu_count' => 2,
]); ]);
// Simulate Successful Server Creation
Route::post('/api/servers', fn () => []); Route::post('/api/servers', fn () => []);
} }
} }