Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit c5ab3a0

Browse files
committed
Fix get Manager with NullWriter in Manager tests
1 parent 737a1e2 commit c5ab3a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Manager.run.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ManagerRunTest extends Tester\TestCase
2020
{
2121
$settings = $this->prepareSettings();
2222
$settings->paths = array('path/for-not-found/');
23-
$manager = new Manager($settings);
23+
$manager = $this->getManager($settings);
2424
Assert::exception(function() use ($manager, $settings) {
2525
$manager->run($settings);
2626
}, 'JakubOnderka\PhpParallelLint\NotExistsPathException');
@@ -30,7 +30,7 @@ class ManagerRunTest extends Tester\TestCase
3030
{
3131
$settings = $this->prepareSettings();
3232
$settings->paths = array('examples/example-01/');
33-
$manager = new Manager($settings);
33+
$manager = $this->getManager($settings);
3434
Assert::exception(function() use ($manager, $settings) {
3535
$manager->run($settings);
3636
}, 'JakubOnderka\PhpParallelLint\Exception', 'No file found to check.');

0 commit comments

Comments
 (0)