Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
Use sweetchuck/codeception-module-robo-task-runner DummyOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
Sweetchuck committed Jul 30, 2017
1 parent 2304041 commit 3eb159e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 24 deletions.
22 changes: 0 additions & 22 deletions tests/_support/Helper/Dummy/DummyOutput.php

This file was deleted.

9 changes: 7 additions & 2 deletions tests/unit/Task/TsLintRunTaskTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
use Codeception\Util\Stub;
use Robo\Robo;
use Sweetchuck\Robo\TsLint\Task\TsLintRunTask as RunTask;
use Sweetchuck\Robo\TsLint\Test\Helper\Dummy\DummyOutput;
use \Sweetchuck\Codeception\Module\RoboTaskRunner\DummyOutput;
use Sweetchuck\Robo\TsLint\Test\Helper\Dummy\DummyProcess;
use Symfony\Component\Console\Output\OutputInterface;

class TsLintRunTaskTest extends Unit
{
Expand Down Expand Up @@ -411,7 +412,11 @@ public function testRun(
$container = Robo::createDefaultContainer();
Robo::setContainer($container);

$mainStdOutput = new DummyOutput();
$outputConfig = [
'verbosity' => OutputInterface::VERBOSITY_DEBUG,
'colors' => false,
];
$mainStdOutput = new DummyOutput($outputConfig);

$options += [
'workingDirectory' => 'my-working-dir',
Expand Down

0 comments on commit 3eb159e

Please sign in to comment.