feat: import post content records

This commit is contained in:
Keith Solomon
2026-04-28 18:22:01 -05:00
parent c66501d0e5
commit 6d11934fcc
4 changed files with 447 additions and 4 deletions
@@ -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 ] );