Skip to content

Commit

Permalink
refactor: code
Browse files Browse the repository at this point in the history
refs: #49
  • Loading branch information
pirs1337 committed Jan 11, 2025
1 parent 89d38d7 commit a3422f6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 23 deletions.
8 changes: 0 additions & 8 deletions tests/ControllerGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace RonasIT\Support\Tests;

use Illuminate\Contracts\Filesystem\FileNotFoundException;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\View;
use RonasIT\Support\Events\SuccessCreateMessage;
use RonasIT\Support\Events\WarningEvent;
Expand All @@ -16,13 +15,6 @@ class ControllerGeneratorTest extends TestCase
{
use ControllerGeneratorMockTrait;

public function setUp(): void
{
parent::setUp();

Event::fake();
}

public function testControllerAlreadyExists()
{
$this->mockClass(ControllerGenerator::class, [
Expand Down
7 changes: 0 additions & 7 deletions tests/FactoryGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ class FactoryGeneratorTest extends TestCase
{
use FactoryMockTrait;

public function setUp(): void
{
parent::setUp();

Event::fake();
}

public function testModelNotExists()
{
$this->assertExceptionThrew(
Expand Down
8 changes: 0 additions & 8 deletions tests/SeederGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace RonasIT\Support\Tests;

use Illuminate\Support\Facades\Event;
use RonasIT\Support\Events\WarningEvent;
use RonasIT\Support\Generators\SeederGenerator;
use RonasIT\Support\Tests\Support\SeederGeneratorMockTrait;
Expand All @@ -11,13 +10,6 @@ class SeederGeneratorTest extends TestCase
{
use SeederGeneratorMockTrait;

public function setUp(): void
{
parent::setUp();

Event::fake();
}

public function testCreateSeeder()
{
$this->mockFilesystem();
Expand Down

0 comments on commit a3422f6

Please sign in to comment.