Skip to content

Commit 0af15ae

Browse files
committed
ITT: Moved helpers to the separate folder.
1 parent a516862 commit 0af15ae

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

src/EmulatesEnvironment.php renamed to src/Helpers/EmulatesEnvironment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Illuminated\Testing;
3+
namespace Illuminated\Testing\Helpers;
44

55
trait EmulatesEnvironment
66
{

src/InteractsWithConsole.php renamed to src/Helpers/InteractsWithConsole.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Illuminated\Testing;
3+
namespace Illuminated\Testing\Helpers;
44

55
use Symfony\Component\Console\Input\ArrayInput;
66
use Symfony\Component\Console\Output\BufferedOutput;

src/TestingTools.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,16 @@
1111
use Illuminated\Testing\Asserts\ScheduleAsserts;
1212
use Illuminated\Testing\Asserts\ServiceProviderAsserts;
1313
use Illuminated\Testing\Asserts\TraitAsserts;
14+
use Illuminated\Testing\Helpers\EmulatesEnvironment;
15+
use Illuminated\Testing\Helpers\InteractsWithConsole;
1416

1517
trait TestingTools
1618
{
19+
// Helpers
1720
use EmulatesEnvironment;
1821
use InteractsWithConsole;
22+
23+
// Asserts
1924
use ArtisanAsserts;
2025
use CollectionAsserts;
2126
use DatabaseAsserts;

0 commit comments

Comments
 (0)