dependencies-upgrade

This commit is contained in:
RafficMohammed
2023-01-08 02:20:59 +05:30
parent 7870479b18
commit 49021a4497
1711 changed files with 74994 additions and 70803 deletions

View File

@@ -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';
}
}