formatting

This commit is contained in:
Ahmed Fathy
2021-04-01 10:57:05 +02:00
parent e1af93f43b
commit f0f7051012
2 changed files with 0 additions and 74 deletions
@@ -26,24 +26,6 @@ class Test extends AbstractModelsCommand
$this->assertSame(0, $tester->getStatusCode());
$this->assertStringContainsString('Written new phpDocBlock to', $tester->getDisplay());
$this->assertMatchesMockedSnapshot();
}
/** @test */
public function it_doesnt_generate_phpdoc_for_model_doesnt_have_factory()
{
if (!version_compare(Application::VERSION, '8.2', '>=')) {
$this->markTestSkipped(
'This test only works in Laravel >= 8.2'
);
}
$command = $this->app->make(ModelsCommand::class);
$tester = $this->runCommand($command, [
'--write' => true,
]);
$this->assertStringNotContainsString('not found', $tester->getDisplay());
$this->assertMatchesMockedSnapshot();
}