Skip to content

Commit ef7eb25

Browse files
committed
Merge branch 'master' into 5.7
2 parents 87e95b8 + f0353d4 commit ef7eb25

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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\Testing\TestingTools` in your `TestCase` class:
34+
2. Use `Illuminated\Testing\TestingTools` and disable `$mockConsoleOutput`:
3535

3636
```php
3737
use Illuminated\Testing\TestingTools;
@@ -40,6 +40,8 @@ Laravel-specific testing helpers and asserts.
4040
{
4141
use TestingTools;
4242
43+
public $mockConsoleOutput = false;
44+
4345
// ...
4446
}
4547
```

src/TestingTools.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@ trait TestingTools
3030
use ReflectionAsserts;
3131
use ScheduleAsserts;
3232
use ServiceProviderAsserts;
33+
34+
public $mockConsoleOutput = false;
3335
}

tests/TestingTools/TestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)