Code Duplication    Length = 7-8 lines in 4 locations

tests/phpunit/tests/comment/query.php 4 locations

@@ 1370-1376 (lines=7) @@
1367
    /**
1368
     * @ticket 35513
1369
     */
1370
    public function test_search_false_should_be_ignored() 
1371
    {
1372
        $q = new WP_Comment_Query();
1373
        $q->query(
1374
            array(
1375
            'search' => false,
1376
            ) 
1377
        );
1378
        $this->assertNotContains("comment_author LIKE", $q->request);
1379
    }
@@ 1384-1390 (lines=7) @@
1381
    /**
1382
     * @ticket 35513
1383
     */
1384
    public function test_search_null_should_be_ignored() 
1385
    {
1386
        $q = new WP_Comment_Query();
1387
        $q->query(
1388
            array(
1389
            'search' => null,
1390
            ) 
1391
        );
1392
        $this->assertNotContains("comment_author LIKE", $q->request);
1393
    }
@@ 1398-1404 (lines=7) @@
1395
    /**
1396
     * @ticket 35513
1397
     */
1398
    public function test_search_empty_string_should_be_ignored() 
1399
    {
1400
        $q = new WP_Comment_Query();
1401
        $q->query(
1402
            array(
1403
            'search' => false,
1404
            ) 
1405
        );
1406
        $this->assertNotContains("comment_author LIKE", $q->request);
1407
    }
@@ 1578-1585 (lines=8) @@
1575
    /**
1576
     * @ticket 29902
1577
     */
1578
    public function test_orderby_false() 
1579
    {
1580
        $q = new WP_Comment_Query();
1581
        $q->query(
1582
            array(
1583
            'orderby' => false,
1584
            ) 
1585
        );
1586
1587
        $this->assertNotContains('ORDER BY', $q->request);
1588
    }