Make WordPress Core

Ticket #27741: ticket-27741-user-query-test.patch

File ticket-27741-user-query-test.patch, 472 bytes (added by bpetty, 12 years ago)
  • tests/phpunit/tests/user/query.php

    diff --git tests/phpunit/tests/user/query.php tests/phpunit/tests/user/query.php
    index 51bcfee..66bdb0d 100644
    class Tests_User_Query extends WP_UnitTestCase { 
    101101                $this->assertEquals( $names, $values );
    102102        }
    103103
     104        /**
     105         * @ticket 21119
     106         * @ticket 27741
     107         */
    104108        function test_prepare_query() {
    105109                $query = new WP_User_Query();
    106110                $this->assertEmpty( $query->query_fields );