Skip to content

Commit

Permalink
Refactor DuskTestCase.php to use a hardcoded base URL
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Oct 17, 2024
1 parent 45729e6 commit 3835dc3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/DuskTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ protected function driver(): RemoteWebDriver
*/
protected function baseUrl()
{
$app_url = config('app.url');
$port = config('app.port');

return $app_url.':'.$port;
return 'http://localhost:8000';
}
}

0 comments on commit 3835dc3

Please sign in to comment.