From 865c1c97ffae5a74db8f5d15a89019ac70b130ad Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Mon, 22 Jan 2024 13:53:26 +0000 Subject: [PATCH] Fixes `inferBasePath` method name (#177) --- src/TestCase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TestCase.php b/src/TestCase.php index e902d6c..661cee5 100755 --- a/src/TestCase.php +++ b/src/TestCase.php @@ -62,8 +62,8 @@ abstract class TestCase extends BaseTestCase */ public function createApplication() { - if (method_exists(Application::class, 'inferBaseDirectory')) { - $app = require Application::inferBaseDirectory().'/bootstrap/app.php'; + if (method_exists(Application::class, 'inferBasePath')) { + $app = require Application::inferBasePath().'/bootstrap/app.php'; $app->make(Kernel::class)->bootstrap();