Skip to content

Commit a3422f6

Browse files
committed
refactor: code
refs: #49
1 parent 89d38d7 commit a3422f6

File tree

3 files changed

+0
-23
lines changed

3 files changed

+0
-23
lines changed

tests/ControllerGeneratorTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace RonasIT\Support\Tests;
44

55
use Illuminate\Contracts\Filesystem\FileNotFoundException;
6-
use Illuminate\Support\Facades\Event;
76
use Illuminate\Support\Facades\View;
87
use RonasIT\Support\Events\SuccessCreateMessage;
98
use RonasIT\Support\Events\WarningEvent;
@@ -16,13 +15,6 @@ class ControllerGeneratorTest extends TestCase
1615
{
1716
use ControllerGeneratorMockTrait;
1817

19-
public function setUp(): void
20-
{
21-
parent::setUp();
22-
23-
Event::fake();
24-
}
25-
2618
public function testControllerAlreadyExists()
2719
{
2820
$this->mockClass(ControllerGenerator::class, [

tests/FactoryGeneratorTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@ class FactoryGeneratorTest extends TestCase
1414
{
1515
use FactoryMockTrait;
1616

17-
public function setUp(): void
18-
{
19-
parent::setUp();
20-
21-
Event::fake();
22-
}
23-
2417
public function testModelNotExists()
2518
{
2619
$this->assertExceptionThrew(

tests/SeederGeneratorTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace RonasIT\Support\Tests;
44

5-
use Illuminate\Support\Facades\Event;
65
use RonasIT\Support\Events\WarningEvent;
76
use RonasIT\Support\Generators\SeederGenerator;
87
use RonasIT\Support\Tests\Support\SeederGeneratorMockTrait;
@@ -11,13 +10,6 @@ class SeederGeneratorTest extends TestCase
1110
{
1211
use SeederGeneratorMockTrait;
1312

14-
public function setUp(): void
15-
{
16-
parent::setUp();
17-
18-
Event::fake();
19-
}
20-
2113
public function testCreateSeeder()
2214
{
2315
$this->mockFilesystem();

0 commit comments

Comments
 (0)