Skip to content

Commit

Permalink
Add Octane service provider
Browse files Browse the repository at this point in the history
  • Loading branch information
cerbero90 committed Sep 11, 2024
1 parent 717d698 commit 0d637be
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Cerbero\OctaneTestbench;

use Laravel\Octane\OctaneServiceProvider;
use Orchestra\Testbench\TestCase as OrchestraTestCase;

/**
Expand Down Expand Up @@ -44,4 +45,17 @@ protected function getOctaneBinPath(): string
{
return __DIR__ . '/bin';
}

/**
* Get package providers.
*
* @param \Illuminate\Foundation\Application $app
* @return array<int, class-string<\Illuminate\Support\ServiceProvider>>
*/
protected function getPackageProviders($app)
{
return [
OctaneServiceProvider::class,
];
}
}

0 comments on commit 0d637be

Please sign in to comment.