Code Duplication    Length = 10-10 lines in 2 locations

tests/phpunit/tests/formatting/WPTexturize.php 2 locations

@@ 1616-1625 (lines=10) @@
1613
     * @ticket       27426
1614
     * @dataProvider data_translate
1615
     */
1616
    function test_translate( $input, $output ) 
1617
    {
1618
        add_filter('gettext_with_context', array( $this, 'filter_translate' ), 10, 4);
1619
1620
        $result = wptexturize($input, true);
1621
1622
        remove_filter('gettext_with_context', array( $this, 'filter_translate' ), 10, 4);
1623
        wptexturize('reset', true);
1624
1625
        return $this->assertEquals($output, $result);
1626
    }
1627
1628
    function filter_translate( $translations, $text, $context, $domain ) 
@@ 2051-2060 (lines=10) @@
2048
     * @ticket       29256
2049
     * @dataProvider data_primes_quotes_translation
2050
     */
2051
    function test_primes_quotes_translation( $input, $output ) 
2052
    {
2053
        add_filter('gettext_with_context', array( $this, 'filter_translate2' ), 10, 4);
2054
2055
        $result = wptexturize($input, true);
2056
2057
        remove_filter('gettext_with_context', array( $this, 'filter_translate2' ), 10, 4);
2058
        wptexturize('reset', true);
2059
2060
        return $this->assertEquals($output, $result);
2061
    }
2062
2063
    function filter_translate2( $translations, $text, $context, $domain )