Skip to content

Commit

Permalink
Fixes inferBasePath method name
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro authored Jan 22, 2024
1 parent ffaa892 commit 56610bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 56610bb

Please sign in to comment.