Changeset 54055
- Timestamp:
- 09/01/2022 06:42:56 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php
r53935 r54055 5253 5253 * @ticket 52422 5254 5254 * 5255 * @covers WP_REST_ Request::create_item5255 * @covers WP_REST_Posts_Controller::create_item 5256 5256 */ 5257 public function test_draft_post_do _not_have_the_same_slug_as_existing_post() {5257 public function test_draft_post_does_not_have_the_same_slug_as_existing_post() { 5258 5258 wp_set_current_user( self::$editor_id ); 5259 5259 $this->factory()->post->create( array( 'post_name' => 'sample-slug' ) );
Note: See TracChangeset
for help on using the changeset viewer.