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.
3131 composer require --dev " illuminated/testing-tools:5.7.*"
3232 ```
3333
34- 2. Use ` Illuminated\T esting\T estingTools` in your ` TestCase ` class :
34+ 2. Use ` Illuminated\T esting\T estingTools` and disable ` $mockConsoleOutput ` :
3535
3636 ` ` ` php
3737 use Illuminated\T esting\T estingTools;
@@ -40,6 +40,8 @@ Laravel-specific testing helpers and asserts.
4040 {
4141 use TestingTools;
4242
43+ public $mockConsoleOutput = false ;
44+
4345 // ...
4446 }
4547 ` ` `
Original file line number Diff line number Diff line change @@ -30,4 +30,6 @@ trait TestingTools
3030 use ReflectionAsserts;
3131 use ScheduleAsserts;
3232 use ServiceProviderAsserts;
33+
34+ public $ mockConsoleOutput = false ;
3335}
Original file line number Diff line number Diff line change @@ -12,11 +12,12 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
1212{
1313 use TestingTools;
1414
15+ public $ mockConsoleOutput = false ;
16+
1517 public function setUp ()
1618 {
1719 parent ::setUp ();
1820
19- $ this ->withoutMockingConsoleOutput ();
2021 $ this ->setUpDatabase ();
2122 $ this ->setUpFactories ();
2223 $ this ->setUpViews ();
You can’t perform that action at this time.
0 commit comments