Changeset 30031 for trunk/tests/phpunit/tests/term/query.php
- Timestamp:
- 10/26/2014 10:56:36 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/term/query.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/query.php
r29931 r30031 84 84 85 85 $this->assertEquals( array( 'foo', ), $tq->queries[0]['terms'] ); 86 } 87 88 /** 89 * @ticket 30117 90 */ 91 public function test_construct_empty_strings_array_members_should_be_discarded() { 92 $q = new WP_Tax_Query( array( 93 '', 94 array( 95 'taxonomy' => 'post_tag', 96 'terms' => 'foo', 97 ), 98 ) ); 99 100 $this->assertSame( 1, count( $q->queries ) ); 86 101 } 87 102
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)