Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Aug 8, 2023
1 parent 7b61532 commit 14a3c33
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Facebook\WebDriver\Remote\DesiredCapabilities;
use Facebook\WebDriver\Remote\RemoteWebDriver;
use Illuminate\Foundation\Application;
use Laravel\Dusk\DuskServiceProvider;
use Orchestra\Testbench\Dusk\Foundation\PackageManifest;
use Orchestra\Testbench\Dusk\Options as DuskOptions;
use Orchestra\Testbench\TestCase as Testbench;
Expand Down Expand Up @@ -106,6 +107,19 @@ protected function setUp(): void
$this->registerShutdownFunction();
}

/**
* Get application providers.
*
* @param \Illuminate\Foundation\Application $app
* @return array<int, class-string>
*/
protected function getApplicationProviders($app)
{
return array_merge(parent::getApplicationProviders($app), [
DuskServiceProvider::class,
]);
}

/**
* Setup parallel testing callback.
*/
Expand Down

0 comments on commit 14a3c33

Please sign in to comment.