Code Duplication    Length = 15-16 lines in 2 locations

tests/php/Core/Manifest/ManifestFileFinderTest.php 2 locations

@@ 54-69 (lines=16) @@
51
        );
52
    }
53
54
    public function testIgnoreTests()
55
    {
56
        $finder = new ManifestFileFinder();
57
        $finder->setOption('name_regex', '/\.txt$/');
58
        $finder->setOption('ignore_tests', false);
59
60
        $this->assertFinderFinds(
61
            $finder,
62
            null,
63
            array(
64
            'module/module.txt',
65
            'module/tests/tests.txt',
66
            'module/code/tests/tests2.txt'
67
            )
68
        );
69
    }
70
71
    public function testIncludeThemes()
72
    {
@@ 71-85 (lines=15) @@
68
        );
69
    }
70
71
    public function testIncludeThemes()
72
    {
73
        $finder = new ManifestFileFinder();
74
        $finder->setOption('name_regex', '/\.txt$/');
75
        $finder->setOption('include_themes', true);
76
77
        $this->assertFinderFinds(
78
            $finder,
79
            null,
80
            array(
81
            'module/module.txt',
82
            'themes/themes.txt'
83
            )
84
        );
85
    }
86
87
    public function testIncludeWithRootConfigFile()
88
    {