Changeset 51367 for trunk/tests/phpunit/tests/wp.php
- Timestamp:
- 07/07/2021 10:32:56 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/wp.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/wp.php
r45607 r51367 22 22 $this->wp->add_query_var( 'test' ); 23 23 24 $this->assert Same( $public_qv_count + 2, count( $this->wp->public_query_vars ));24 $this->assertCount( $public_qv_count + 2, $this->wp->public_query_vars ); 25 25 $this->assertTrue( in_array( 'test', $this->wp->public_query_vars, true ) ); 26 26 $this->assertTrue( in_array( 'test2', $this->wp->public_query_vars, true ) ); … … 34 34 $this->wp->remove_query_var( 'test' ); 35 35 36 $this->assert Same( $public_qv_count, count( $this->wp->public_query_vars ));36 $this->assertCount( $public_qv_count, $this->wp->public_query_vars ); 37 37 } 38 38 }
Note: See TracChangeset
for help on using the changeset viewer.