Skip to content

Commit

Permalink
phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofandel committed Sep 8, 2023
1 parent 7947c05 commit aa51d9f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/Concerns/ShouldQueueWithoutChainTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@

class ShouldQueueWithoutChainTest extends TestCase
{
/**
* Setup the test environment.
*/
protected function setUp(): void
{
parent::setUp();

$this->loadLaravelMigrations(['--database' => 'testing']);
$this->loadMigrationsFrom(dirname(__DIR__) . '/Data/Stubs/Database/Migrations');
}

/**
* @test
*/
Expand Down Expand Up @@ -51,7 +62,7 @@ public function a_queue_name_can_be_specified_when_importing()
{
Queue::fake();

$import = new QueueImportWithoutJobChaining();
$import = new QueueImportWithoutJobChaining();
$import->queue = 'queue-name';

$import->import('import-users.xlsx');
Expand Down Expand Up @@ -106,15 +117,4 @@ public function the_cleanup_only_runs_when_all_jobs_are_done()
$fake->push($afterImport);
Event::forget(JobProcessed::class);
}

/**
* Setup the test environment.
*/
protected function setUp(): void
{
parent::setUp();

$this->loadLaravelMigrations(['--database' => 'testing']);
$this->loadMigrationsFrom(dirname(__DIR__) . '/Data/Stubs/Database/Migrations');
}
}

0 comments on commit aa51d9f

Please sign in to comment.