Changeset 51335 for trunk/tests/phpunit/tests/taxonomy.php
- Timestamp:
- 07/06/2021 12:25:53 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/taxonomy.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/taxonomy.php
r51331 r51335 29 29 // Should return an object with the correct taxonomy object type. 30 30 $this->assertTrue( is_object( $tax ) ); 31 $this->assert True( is_array( $tax->object_type ));31 $this->assertIsArray( $tax->object_type ); 32 32 $this->assertSame( array( 'post' ), $tax->object_type ); 33 33 } … … 111 111 // Should return an object with the correct taxonomy object type. 112 112 $this->assertTrue( is_object( $tax ) ); 113 $this->assert True( is_array( $tax->object_type ));113 $this->assertIsArray( $tax->object_type ); 114 114 $this->assertSame( array( 'link' ), $tax->object_type ); 115 115 }
Note: See TracChangeset
for help on using the changeset viewer.