From b8bf5a28b32d7fb8d5863676e906647ba068d498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Wed, 25 Sep 2024 11:16:41 +0200 Subject: [PATCH] phpcs --- tests/test-class-plugin-vs-event-list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-class-plugin-vs-event-list.php b/tests/test-class-plugin-vs-event-list.php index 6145691..98d5830 100644 --- a/tests/test-class-plugin-vs-event-list.php +++ b/tests/test-class-plugin-vs-event-list.php @@ -194,7 +194,7 @@ class Test_VS_Event_List extends WP_UnitTestCase { wp_set_post_terms( $wp_post_id, $category_id_music['term_id'], 'event_cat' ); // Call the transformer. - $event_array = \Activitypub\Transformer\Factory::get_transformer( get_post( $wp_post_id ) )->to_object()->to_array(); + $event_array = \Activitypub\Transformer\Factory::get_transformer( get_post( $wp_post_id ) )->to_object()->to_array(); // See if the default category mapping is applied. $this->assertEquals( 'MUSIC', $event_array['category'] );