Code Duplication    Length = 9-9 lines in 3 locations

_test/syntax.test.php 1 location

@@ 31-39 (lines=9) @@
28
    /**
29
     * copy data and add pages to the index.
30
     */
31
    public static function setUpBeforeClass(){
32
        parent::setUpBeforeClass();
33
        global $conf;
34
        $conf['allowdebug'] = 1;
35
36
        TestUtils::rcopy(TMP_DIR, dirname(__FILE__) . '/data/');
37
38
        dbglog("\nset up class syntax_plugin_backlinks_test");
39
    }
40
41
    function setUp() {
42
        parent::setUp();

_test/syntax_exclude.test.php 1 location

@@ 31-39 (lines=9) @@
28
    /**
29
     * copy data.
30
     */
31
    public static function setUpBeforeClass(){
32
        parent::setUpBeforeClass();
33
        global $conf;
34
        $conf['allowdebug'] = 1;
35
36
        TestUtils::rcopy(TMP_DIR, dirname(__FILE__) . '/data/');
37
38
        dbglog("\nset up class syntax_plugin_backlinks_test");
39
    }
40
41
    function setUp() {
42
        parent::setUp();

_test/syntax_include.test.php 1 location

@@ 31-39 (lines=9) @@
28
    /**
29
     * copy data.
30
     */
31
    public static function setUpBeforeClass(){
32
        parent::setUpBeforeClass();
33
        global $conf;
34
        $conf['allowdebug'] = 1;
35
36
        TestUtils::rcopy(TMP_DIR, dirname(__FILE__) . '/data/');
37
38
        dbglog("\nset up class syntax_plugin_backlinks_test");
39
    }
40
41
    function setUp() {
42
        parent::setUp();