From 4ab35308b4aeaa9c6451347f16b2014794948257 Mon Sep 17 00:00:00 2001 From: Dries Vints <dries@vints.io> Date: Fri, 17 Apr 2020 11:38:12 +0200 Subject: [PATCH] Trim trailing slash --- src/TestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TestCase.php b/src/TestCase.php index 12522c6cd..7600a6796 100644 --- a/src/TestCase.php +++ b/src/TestCase.php @@ -54,7 +54,7 @@ protected function driver() */ protected function baseUrl() { - return config('app.url'); + return rtrim(config('app.url'), '/'); } /**