Code Duplication    Length = 8-8 lines in 2 locations

tests/integration/ShortcutTest.php 2 locations

@@ 27-34 (lines=8) @@
24
        $this->fixtures->cleanup();
25
    }
26
27
    public function testCopyDirShortcut()
28
    {
29
        // copy dir with _copyDir shortcut
30
        $result = $this->_copyDir('box', 'bin');
31
        $this->assertTrue($result->wasSuccessful(), $result->getMessage());
32
        $this->assertFileExists('bin');
33
        $this->assertFileExists('bin/robo.txt');
34
    }
35
36
    public function testMirrorDirShortcut()
37
    {
@@ 36-43 (lines=8) @@
33
        $this->assertFileExists('bin/robo.txt');
34
    }
35
36
    public function testMirrorDirShortcut()
37
    {
38
        // mirror dir with _mirrorDir shortcut
39
        $result = $this->_mirrorDir('box', 'bin');
40
        $this->assertTrue($result->wasSuccessful(), $result->getMessage());
41
        $this->assertFileExists('bin');
42
        $this->assertFileExists('bin/robo.txt');
43
    }
44
45
}
46