Changeset 51337 for trunk/tests/phpunit/tests/taxonomy.php
- Timestamp:
- 07/06/2021 12:31:19 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/taxonomy.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/taxonomy.php
r51335 r51337 28 28 $tax = get_taxonomy( $taxonomy ); 29 29 // Should return an object with the correct taxonomy object type. 30 $this->assert True( is_object( $tax ));30 $this->assertIsObject( $tax ); 31 31 $this->assertIsArray( $tax->object_type ); 32 32 $this->assertSame( array( 'post' ), $tax->object_type ); … … 110 110 $tax = get_taxonomy( $taxonomy ); 111 111 // Should return an object with the correct taxonomy object type. 112 $this->assert True( is_object( $tax ));112 $this->assertIsObject( $tax ); 113 113 $this->assertIsArray( $tax->object_type ); 114 114 $this->assertSame( array( 'link' ), $tax->object_type );
Note: See TracChangeset
for help on using the changeset viewer.