Code Duplication    Length = 9-9 lines in 2 locations

tests/phpunit/tests/user/query.php 2 locations

@@ 95-103 (lines=9) @@
92
        $this->assertEqualSets(array( self::$author_ids[0], self::$author_ids[2] ), $ids);
93
    }
94
95
    public function test_include_array() 
96
    {
97
        $q = new WP_User_Query(
98
            array(
99
            'fields' => '',
100
            'include' => array( self::$author_ids[0], self::$author_ids[2] ),
101
            ) 
102
        );
103
        $ids = $q->get_results();
104
105
        $this->assertEqualSets(array( self::$author_ids[0], self::$author_ids[2] ), $ids);
106
    }
@@ 108-116 (lines=9) @@
105
        $this->assertEqualSets(array( self::$author_ids[0], self::$author_ids[2] ), $ids);
106
    }
107
108
    public function test_include_array_bad_values() 
109
    {
110
        $q = new WP_User_Query(
111
            array(
112
            'fields' => '',
113
            'include' => array( self::$author_ids[0], 'foo', self::$author_ids[2] ),
114
            ) 
115
        );
116
        $ids = $q->get_results();
117
118
        $this->assertEqualSets(array( self::$author_ids[0], self::$author_ids[2] ), $ids);
119
    }