Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspertey authored and github-actions[bot] committed Nov 12, 2024
1 parent 06d473e commit 91f7fb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Generator/ActionMakeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

expect(Artisan::output())->when(
Feature::IncludeFilepathInGeneratorCommandOutput->exists(),
fn($output) => $output->toContainFilepath($relativePath),
fn ($output) => $output->toContainFilepath($relativePath),
);

expect(file_exists($expectedPath))->toBeTrue();
Expand Down Expand Up @@ -81,7 +81,7 @@

expect(file_exists($expectedPath))->toBeTrue();

expect(file_get_contents($expectedPath))->toContain("class {$name} extends {$baseAction}" . PHP_EOL . '{');
expect(file_get_contents($expectedPath))->toContain("class {$name} extends {$baseAction}".PHP_EOL.'{');
})->with([
'BaseAction' => 'BaseAction',
'Base\Action' => 'Base\Action',
Expand All @@ -107,5 +107,5 @@
Artisan::call("ddd:action {$domain}:{$name}");

expect(file_exists($expectedPath))->toBeTrue();
expect(file_get_contents($expectedPath))->toContain("class {$name}" . PHP_EOL . '{');
expect(file_get_contents($expectedPath))->toContain("class {$name}".PHP_EOL.'{');
});

0 comments on commit 91f7fb5

Please sign in to comment.