Code Duplication    Length = 13-13 lines in 2 locations

tests/unit/RunnerTest.php 2 locations

@@ 368-380 (lines=13) @@
365
        $this->assertEquals('value', $actual);
366
    }
367
368
    public function testWithConfigLoader()
369
    {
370
        $loader = new YamlConfigLoader();
371
        $loader->load(dirname(__DIR__) . '/_data/robo.yml');
372
373
        \Robo\Robo::config()->extend($loader);
374
375
        $argv = ['placeholder', 'test:simple-list'];
376
        $result = $this->runner->execute($argv, null, null, $this->guy->capturedOutputStream());
377
378
        $this->guy->seeInOutput("a: '12'");
379
        $this->guy->seeInOutput("b: '13'");
380
    }
381
382
383
    public function testWithConfigLoaderAndCliOverride()
@@ 383-395 (lines=13) @@
380
    }
381
382
383
    public function testWithConfigLoaderAndCliOverride()
384
    {
385
        $loader = new YamlConfigLoader();
386
        $loader->load(dirname(__DIR__) . '/_data/robo.yml');
387
388
        \Robo\Robo::config()->extend($loader);
389
390
        $argv = ['placeholder', 'test:simple-list', '--b=3'];
391
        $result = $this->runner->execute($argv, null, null, $this->guy->capturedOutputStream());
392
393
        $this->guy->seeInOutput("a: '12'");
394
        $this->guy->seeInOutput("b: '3'");
395
    }
396
}
397