Changeset 39174 for trunk/tests/phpunit/tests/post.php
- Timestamp:
- 11/09/2016 12:01:42 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post.php
r38810 r39174 382 382 // Test both return paths with or without WP_Error 383 383 $insert_post = wp_insert_post( $post, true ); 384 $this->assert True( is_wp_error( $insert_post ), 'Did not get a WP_Error back from wp_insert_post');384 $this->assertWPError( $insert_post ); 385 385 $this->assertEquals( 'invalid_date', $insert_post->get_error_code() ); 386 386
Note: See TracChangeset
for help on using the changeset viewer.