Refactor DuskTestCase.php to use a hardcoded base URL

This commit is contained in:
Andras Bacsai
2024-10-17 21:26:06 +02:00
parent 45729e6e37
commit 3835dc3fd7

View File

@@ -52,9 +52,6 @@ abstract class DuskTestCase extends BaseTestCase
*/ */
protected function baseUrl() protected function baseUrl()
{ {
$app_url = config('app.url'); return 'http://localhost:8000';
$port = config('app.port');
return $app_url.':'.$port;
} }
} }