Add comments
This commit is contained in:
parent
f7ed8af52a
commit
426c1cea66
1 changed files with 2 additions and 0 deletions
|
@ -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 () => []);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue