Changeset 53395 for trunk/tests/phpunit/tests/query/conditionals.php
- Timestamp:
- 05/14/2022 03:08:58 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/query/conditionals.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/query/conditionals.php
r52010 r53395 1617 1617 } 1618 1618 1619 /** 1620 * @ticket 55104 1621 * @expectedIncorrectUsage is_main_query 1622 */ 1623 public function test_is_main_query_returns_false_if_wp_query_is_not_set() { 1624 unset( $GLOBALS['wp_query'] ); 1625 1626 $this->assertFalse( is_main_query() ); 1627 } 1628 1619 1629 }
Note: See TracChangeset
for help on using the changeset viewer.