Code Duplication    Length = 12-13 lines in 2 locations

tests/functional/ReadmeTest.php 2 locations

@@ 36-47 (lines=12) @@
33
    /**
34
     * Test minimal.
35
     */
36
    public function testMinimal()
37
    {
38
        $this->tester->hidev('init the-vendor/new-test-package --norequire --year=2014');
39
        $this->tester->hidev('README.md');
40
        $this->tester->assertFileHas('README.md', [
41
            "New Test Package\n================",
42
            "\n\n## License\n\n",
43
            'This project is released under the terms of the No license',
44
            'Read more [here](http://choosealicense.com/licenses/no-license).',
45
            'Copyright © 2014-' . date('Y') . ', The Vendor',
46
        ]);
47
    }
48
49
    /**
50
     * Test options.
@@ 52-64 (lines=13) @@
49
    /**
50
     * Test options.
51
     */
52
    public function testMore()
53
    {
54
        $this->tester->hidev('init the-vendor/new-test-package --norequire --headline=Package --license=MIT --year=2014 "--description=The project longer decription"');
55
        $this->tester->hidev('README.md');
56
        $this->tester->assertFileHas('README.md', [
57
            "Package\n=======",
58
            '**New Test Package**',
59
            'The project longer decription',
60
            '## License',
61
            'This project is released under the terms of the MIT [license](LICENSE)',
62
            'Read more [here](http://choosealicense.com/licenses/mit).',
63
        ]);
64
    }
65
66
    /**
67
     * Test docs/readme.