From 0d637beade76e9549642b746131987bbf35961e2 Mon Sep 17 00:00:00 2001 From: Andrea Marco Sartori Date: Wed, 11 Sep 2024 16:36:22 -0300 Subject: [PATCH] Add Octane service provider --- tests/TestCase.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/TestCase.php b/tests/TestCase.php index af5905c..408ad99 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -2,6 +2,7 @@ namespace Cerbero\OctaneTestbench; +use Laravel\Octane\OctaneServiceProvider; use Orchestra\Testbench\TestCase as OrchestraTestCase; /** @@ -44,4 +45,17 @@ protected function getOctaneBinPath(): string { return __DIR__ . '/bin'; } + + /** + * Get package providers. + * + * @param \Illuminate\Foundation\Application $app + * @return array> + */ + protected function getPackageProviders($app) + { + return [ + OctaneServiceProvider::class, + ]; + } }