Skip to content

Commit f0f7051

Browse files
committed
formatting
1 parent e1af93f commit f0f7051

File tree

2 files changed

+0
-74
lines changed

2 files changed

+0
-74
lines changed

tests/Console/ModelsCommand/Factories/Test.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,6 @@ public function test(): void
2626

2727
$this->assertSame(0, $tester->getStatusCode());
2828
$this->assertStringContainsString('Written new phpDocBlock to', $tester->getDisplay());
29-
$this->assertMatchesMockedSnapshot();
30-
}
31-
32-
/** @test */
33-
public function it_doesnt_generate_phpdoc_for_model_doesnt_have_factory()
34-
{
35-
if (!version_compare(Application::VERSION, '8.2', '>=')) {
36-
$this->markTestSkipped(
37-
'This test only works in Laravel >= 8.2'
38-
);
39-
}
40-
41-
$command = $this->app->make(ModelsCommand::class);
42-
43-
$tester = $this->runCommand($command, [
44-
'--write' => true,
45-
]);
46-
4729
$this->assertStringNotContainsString('not found', $tester->getDisplay());
4830
$this->assertMatchesMockedSnapshot();
4931
}

tests/Console/ModelsCommand/Factories/__snapshots__/Test__it_doesnt_generate_phpdoc_for_model_doesnt_have_factory__1.php

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)