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 Jan 5, 2024
1 parent 1dd0e1b commit 995db32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions stubs/DuskTestCase.stub
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

namespace Tests;

use Illuminate\Support\Collection;
use Facebook\WebDriver\Chrome\ChromeOptions;
use Facebook\WebDriver\Remote\DesiredCapabilities;
use Facebook\WebDriver\Remote\RemoteWebDriver;
use Illuminate\Support\Collection;
use Laravel\Dusk\TestCase as BaseTestCase;
use PHPUnit\Framework\Attributes\BeforeClass;

abstract class DuskTestCase extends BaseTestCase
{
use CreatesApplication;

/**
* Prepare for Dusk test execution.
*
* @beforeClass
*/
#[BeforeClass]
public static function prepare(): void
{
if (! static::runningInSail()) {
Expand Down
4 changes: 2 additions & 2 deletions tests/Browser/DuskTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Laravel\Dusk\Browser;
use Laravel\Dusk\TestCase;
use Orchestra\Testbench\Concerns\CreatesApplication;
use PHPUnit\Framework\Attributes\BeforeClass;

class DuskTestCase extends TestCase
{
Expand Down Expand Up @@ -40,9 +41,8 @@ protected function setUp(): void

/**
* Prepare for Dusk test execution.
*
* @beforeClass
*/
#[BeforeClass]
public static function prepare(): void
{
if (! static::runningInSail()) {
Expand Down

0 comments on commit 995db32

Please sign in to comment.