From 56610bb6ae35705a8254067eb9caa2018f46c4ff Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Mon, 22 Jan 2024 11:48:38 +0000 Subject: [PATCH] Fixes `inferBasePath` method name --- 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();