Changeset 31662 for trunk/tests/phpunit/tests/comment/query.php
- Timestamp:
- 03/07/2015 03:44:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/query.php
r31467 r31662 1109 1109 } 1110 1110 1111 public function test_orderby_space_separated() { 1112 global $wpdb; 1113 1114 $q = new WP_Comment_Query(); 1115 $q->query( array( 1116 'orderby' => 'comment_agent comment_approved', 1117 ) ); 1118 1119 $this->assertContains( "ORDER BY $wpdb->comments.comment_agent DESC, $wpdb->comments.comment_approved DESC", $q->request ); 1120 } 1121 1111 1122 public function test_orderby_comma_separated() { 1112 1123 global $wpdb;
Note: See TracChangeset
for help on using the changeset viewer.