feat: import post content records
This commit is contained in:
@@ -119,7 +119,7 @@ class WordPressContentStubTest extends TestCase {
|
||||
);
|
||||
|
||||
self::assertCount( 1, $posts );
|
||||
self::assertSame( $first_post_id, $posts[0]['ID'] );
|
||||
self::assertSame( $first_post_id, $posts[0]->ID );
|
||||
self::assertSame( array(), get_post_meta( $second_post_id, '_wpcs_source_id', false ) );
|
||||
self::assertNull( get_post( $second_post_id ) );
|
||||
self::assertTrue( $GLOBALS['wpcs_test_force_delete'][ $second_post_id ] );
|
||||
|
||||
Reference in New Issue
Block a user