diff --git a/includes/activitypub/transmogrifier/class-base.php b/includes/activitypub/transmogrifier/class-base.php index c67bcfc..9a720c1 100644 --- a/includes/activitypub/transmogrifier/class-base.php +++ b/includes/activitypub/transmogrifier/class-base.php @@ -279,7 +279,7 @@ abstract class Base { * @param int $activitypub_event_id The ActivityPub events ID. */ public function delete( $activitypub_event_id ) { - $post_id = self::get_post_id_from_activitypub_id( $activitypub_event_id); + $post_id = self::get_post_id_from_activitypub_id( $activitypub_event_id ); if ( ! $post_id ) { return new WP_Error( diff --git a/tests/includes/activitypub/transmogrifier/class-test-vs-event-list.php b/tests/includes/activitypub/transmogrifier/class-test-vs-event-list.php index fe8ae56..d64cb8a 100644 --- a/tests/includes/activitypub/transmogrifier/class-test-vs-event-list.php +++ b/tests/includes/activitypub/transmogrifier/class-test-vs-event-list.php @@ -135,7 +135,7 @@ class Test_VS_Event_List extends \WP_UnitTestCase { $events = get_posts( array( 'post_type' => IntegrationsVS_Event_List::get_post_type() ) ); $this->assertCount( 1, $events ); $event = $events[0]; - $this->assertStringContainsString( 'Updated address' , get_post_meta( $event->ID, 'event-location', true ) ); + $this->assertStringContainsString( 'Updated address', get_post_meta( $event->ID, 'event-location', true ) ); // We should see the updates. $this->assertEquals( 'Updated name', $event->post_title );