Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bakerkretzmar committed Feb 20, 2024
1 parent 6367054 commit 9dabd7b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/Unit/CommandRouteGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function can_generate_dts_file()
/** @test */
public function can_generate_dts_file_with_scoped_bindings()
{
if (!$this->laravelVersion(7)) {
if (! $this->laravelVersion(7)) {
$this->markTestSkipped('Requires Laravel >=7');
}

Expand Down Expand Up @@ -197,8 +197,6 @@ public function can_generate_dts_file_without_routes()
Artisan::call('ziggy:generate', ['--types-only' => true]);

$this->assertFileExists(base_path('resources/js/ziggy.d.ts'));


if (method_exists($this, 'assertFileDoesNotExist')) {
$this->assertFileDoesNotExist(base_path('resources/js/ziggy.js'));
} else {
Expand All @@ -217,7 +215,6 @@ public function can_derive_dts_file_path_from_given_path()
Artisan::call('ziggy:generate', ['--types-only' => true]);

$this->assertFileExists(base_path('resources/js/custom.d.ts'));

if (method_exists($this, 'assertFileDoesNotExist')) {
$this->assertFileDoesNotExist(base_path('resources/js/ziggy.d.ts'));
} else {
Expand Down

0 comments on commit 9dabd7b

Please sign in to comment.