Browse Source

Remove unused lines

pull/36/head
Nafies Luthfi 5 years ago
parent
commit
ab4aa6e65a
  1. 1
      tests/Generators/ModelFactoryGeneratorTest.php
  2. 1
      tests/Generators/ModelPolicyGeneratorTest.php

1
tests/Generators/ModelFactoryGeneratorTest.php

@ -78,7 +78,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]);

1
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 = "<?php

Loading…
Cancel
Save