From 4ecfd017b824c95da17133c2f167b901c6c2a1b5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 1 Jun 2014 03:17:16 +0000 Subject: [PATCH] Capitalize 'ID' correctly to avoid random failures of Tests_Tax_Query::test_term_taxonomy_id_field_no_taxonomy(). see #25284. git-svn-id: https://develop.svn.wordpress.org/trunk@28647 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/term/query.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/term/query.php b/tests/phpunit/tests/term/query.php index e3536ed97e..7cfa26b07d 100644 --- a/tests/phpunit/tests/term/query.php +++ b/tests/phpunit/tests/term/query.php @@ -158,7 +158,7 @@ class Tests_Tax_Query extends WP_UnitTestCase { $results1 = $this->q->query( array( 'fields' => 'ids', - 'orderby' => 'id', + 'orderby' => 'ID', 'order' => 'ASC', 'tax_query' => array( 'relation' => 'OR', @@ -181,7 +181,7 @@ class Tests_Tax_Query extends WP_UnitTestCase { $results2 = $this->q->query( array( 'fields' => 'ids', - 'orderby' => 'id', + 'orderby' => 'ID', 'order' => 'ASC', 'tax_query' => array( 'relation' => 'AND',