Changeset 42863 for trunk/tests/phpunit/tests/ajax/CustomizeManager.php
- Timestamp:
- 03/20/2018 10:34:11 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/CustomizeManager.php
r42615 r42863 646 646 647 647 $_POST['dismiss_autosave'] = $_GET['dismiss_autosave'] = $_REQUEST['dismiss_autosave'] = true; 648 $this->assertNot InstanceOf( 'WP_Error',$r );648 $this->assertNotWPError( $r ); 649 649 $this->assertFalse( wp_get_post_autosave( $wp_customize->changeset_post_id() ) ); 650 650 $this->assertContains( 'Foo', get_post( $wp_customize->changeset_post_id() )->post_content ); … … 666 666 ) 667 667 ); 668 $this->assertNot InstanceOf( 'WP_Error',$r );668 $this->assertNotWPError( $r ); 669 669 $autosave_revision = wp_get_post_autosave( $wp_customize->changeset_post_id() ); 670 670 $this->assertInstanceOf( 'WP_Post', $autosave_revision );
Note: See TracChangeset
for help on using the changeset viewer.