Skip to content

Commit 865c1c9

Browse files
authored
Fixes inferBasePath method name (#177)
1 parent ffaa892 commit 865c1c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ abstract class TestCase extends BaseTestCase
6262
*/
6363
public function createApplication()
6464
{
65-
if (method_exists(Application::class, 'inferBaseDirectory')) {
66-
$app = require Application::inferBaseDirectory().'/bootstrap/app.php';
65+
if (method_exists(Application::class, 'inferBasePath')) {
66+
$app = require Application::inferBasePath().'/bootstrap/app.php';
6767

6868
$app->make(Kernel::class)->bootstrap();
6969

0 commit comments

Comments
 (0)