Changeset 37890 for trunk/tests/phpunit/tests/post/types.php
- Timestamp:
- 06/28/2016 04:40:33 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/post/types.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/types.php
r37459 r37890 30 30 31 31 $pobj = get_post_type_object( 'foo' ); 32 $this->assertInstanceOf( ' stdClass', $pobj );32 $this->assertInstanceOf( 'WP_Post_Type', $pobj ); 33 33 $this->assertEquals( 'foo', $pobj->name ); 34 34 … … 555 555 * 556 556 * @param array $args register_post_type() arguments. 557 * @return stdClassPost type object for `$this->post_type`.557 * @return WP_Post_Type Post type object for `$this->post_type`. 558 558 */ 559 559 public function register_post_type( $args = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.