Changeset 29061
- Timestamp:
- 07/10/2014 01:55:46 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/newPost.php
r28854 r29061 311 311 function test_invalid_post_date_does_not_fatal() { 312 312 $this->make_user_by_role( 'author' ); 313 $date_string = ' 2014-01-01 10:10:10';313 $date_string = 'invalid_date'; 314 314 $post = array( 'post_title' => 'test', 'post_content' => 'test', 'post_date' => $date_string ); 315 315 $result = $this->myxmlrpcserver->wp_newPost( array( 1, 'author', 'author', $post ) );
Note: See TracChangeset
for help on using the changeset viewer.