Refactor DuskTestCase.php to use a hardcoded base URL
This commit is contained in:
@@ -52,9 +52,6 @@ abstract class DuskTestCase extends BaseTestCase
|
||||
*/
|
||||
protected function baseUrl()
|
||||
{
|
||||
$app_url = config('app.url');
|
||||
$port = config('app.port');
|
||||
|
||||
return $app_url.':'.$port;
|
||||
return 'http://localhost:8000';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user