From 62514f5206b70f9756f76a21d970424ad872aa30 Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Mon, 15 Mar 2021 00:16:19 +0800 Subject: [PATCH] Remove unused lines --- tests/Generators/ModelFactoryGeneratorTest.php | 1 - tests/Generators/ModelPolicyGeneratorTest.php | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/Generators/ModelFactoryGeneratorTest.php b/tests/Generators/ModelFactoryGeneratorTest.php index ac00199..846d7ce 100644 --- a/tests/Generators/ModelFactoryGeneratorTest.php +++ b/tests/Generators/ModelFactoryGeneratorTest.php @@ -85,7 +85,6 @@ class {$this->model_name}Factory extends Factory /** @test */ public function it_doesnt_override_the_existing_model_factory_content() { - // $this->artisan('make:model', ['name' => 'Models/'.$this->model_name, '--no-interaction' => true]); $this->artisan('make:factory', ['name' => $this->model_name.'Factory', '--no-interaction' => true]); $this->artisan('make:crud', ['name' => $this->model_name, '--no-interaction' => true]); diff --git a/tests/Generators/ModelPolicyGeneratorTest.php b/tests/Generators/ModelPolicyGeneratorTest.php index 7cfc45f..4629415 100644 --- a/tests/Generators/ModelPolicyGeneratorTest.php +++ b/tests/Generators/ModelPolicyGeneratorTest.php @@ -239,7 +239,6 @@ class AuthServiceProvider extends ServiceProvider $this->artisan('make:crud', ['name' => $this->model_name, '--no-interaction' => true]); $modelPolicyPath = app_path('Policies/'.$this->model_name.'Policy.php'); - // dd(file_get_contents($modelPolicyPath)); $this->assertFileExists($modelPolicyPath); $modelPolicyContent = "