Changeset 26875
- Timestamp:
- 12/28/2013 05:24:32 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/query/taxQuery.php
r26873 r26875 137 137 } 138 138 139 /** 140 * @ticket 26728 141 */ 142 function test_tax_action_tax() { 143 // tax with tax added 144 $this->go_to( home_url( '/testtax/tax-slug2/' ) ); 145 $this->assertQueryTrue( 'is_tax', 'is_archive' ); 146 $this->assertNotEmpty( get_query_var( 'tax_query' ) ); 147 $this->assertNotEmpty( get_query_var( 'taxonomy' ) ); 148 $this->assertNotEmpty( get_query_var( 'term_id' ) ); 149 $this->assertEquals( get_queried_object(), get_term( $this->tax_id, 'testtax' ) ); 150 } 151 139 152 function test_tax_query_tag_action_tax() { 140 153 // tax + tag with tax added
Note: See TracChangeset
for help on using the changeset viewer.