From 258582112cbfedeb39b2a2100281f15bfc020e41 Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Thu, 1 Dec 2022 13:32:17 +0500 Subject: [PATCH] use proper return type --- tests/Pest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Pest.php b/tests/Pest.php index c27c6d53..99c1bbcc 100644 --- a/tests/Pest.php +++ b/tests/Pest.php @@ -4,7 +4,7 @@ use Stancl\Tenancy\Tests\TestCase; uses(TestCase::class)->in(...filesAndFoldersExcluding(['WithoutTenancy'])); // todo move all tests to a separate folder -function pest(): \Orchestra\Testbench\TestCase +function pest(): TestCase { return Pest\TestSuite::getInstance()->test; }