File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Laravel-specific testing helpers and asserts.
31
31
composer require --dev " illuminated/testing-tools:5.7.*"
32
32
```
33
33
34
- 2. Use ` Illuminated\T esting\T estingTools` in your ` TestCase ` class :
34
+ 2. Use ` Illuminated\T esting\T estingTools` and disable ` $mockConsoleOutput ` :
35
35
36
36
` ` ` php
37
37
use Illuminated\T esting\T estingTools;
@@ -40,6 +40,8 @@ Laravel-specific testing helpers and asserts.
40
40
{
41
41
use TestingTools;
42
42
43
+ public $mockConsoleOutput = false ;
44
+
43
45
// ...
44
46
}
45
47
` ` `
Original file line number Diff line number Diff line change @@ -30,4 +30,6 @@ trait TestingTools
30
30
use ReflectionAsserts;
31
31
use ScheduleAsserts;
32
32
use ServiceProviderAsserts;
33
+
34
+ public $ mockConsoleOutput = false ;
33
35
}
Original file line number Diff line number Diff line change @@ -12,11 +12,12 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
12
12
{
13
13
use TestingTools;
14
14
15
+ public $ mockConsoleOutput = false ;
16
+
15
17
public function setUp ()
16
18
{
17
19
parent ::setUp ();
18
20
19
- $ this ->withoutMockingConsoleOutput ();
20
21
$ this ->setUpDatabase ();
21
22
$ this ->setUpFactories ();
22
23
$ this ->setUpViews ();
You can’t perform that action at this time.
0 commit comments