Run integration tests and improve transformers for all integrations #32

Merged
linos merged 13 commits from ci_multiple_integrations into main 2024-09-25 11:27:17 +02:00
Showing only changes of commit b8bf5a28b3 - Show all commits

View file

@ -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'] );