Code Duplication    Length = 8-8 lines in 2 locations

tests/phpunit/tests/term/getTerms.php 2 locations

@@ 66-73 (lines=8) @@
63
     * @ticket 35495
64
     * @ticket 35381
65
     */
66
    public function test_legacy_params_as_query_string_should_be_properly_parsed() 
67
    {
68
        register_taxonomy('wptests_tax', 'post');
69
        $term = self::factory()->term->create(array( 'taxonomy' => 'wptests_tax' ));
70
71
        $found = get_terms('wptests_tax', 'hide_empty=0&fields=ids&update_term_meta_cache=0');
72
73
        $this->assertEqualSets(array( $term ), $found);
74
    }
75
76
    /**
@@ 80-87 (lines=8) @@
77
     * @ticket 35495
78
     * @ticket 35381
79
     */
80
    public function test_new_params_as_query_string_should_be_properly_parsed() 
81
    {
82
        register_taxonomy('wptests_tax', 'post');
83
        $term = self::factory()->term->create(array( 'taxonomy' => 'wptests_tax' ));
84
85
        $found = get_terms('taxonomy=wptests_tax&hide_empty=0&fields=ids&update_term_meta_cache=0');
86
87
        $this->assertEqualSets(array( $term ), $found);
88
    }
89
90
    /**