Skip to content

Commit 3a4e9a2

Browse files
authored
Merge pull request #764 from laravel/trim-trailing-slash
[6.x] Trim trailing slash
2 parents 338e453 + 4ab3530 commit 3a4e9a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected function driver()
5454
*/
5555
protected function baseUrl()
5656
{
57-
return config('app.url');
57+
return rtrim(config('app.url'), '/');
5858
}
5959

6060
/**

0 commit comments

Comments
 (0)