dependencies-upgrade
This commit is contained in:
12
vendor/laravel/dusk/src/TestCase.php
vendored
12
vendor/laravel/dusk/src/TestCase.php
vendored
@@ -54,7 +54,7 @@ abstract class TestCase extends FoundationTestCase
|
||||
*/
|
||||
protected function baseUrl()
|
||||
{
|
||||
return config('app.url');
|
||||
return rtrim(config('app.url'), '/');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -68,4 +68,14 @@ abstract class TestCase extends FoundationTestCase
|
||||
{
|
||||
throw new Exception('User resolver has not been set.');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the tests are running within Laravel Sail.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
protected static function runningInSail()
|
||||
{
|
||||
return isset($_ENV['LARAVEL_SAIL']) && $_ENV['LARAVEL_SAIL'] == '1';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user