diff --git a/includes/activitypub/transformer/class-event-organiser.php b/includes/activitypub/transformer/class-event-organiser.php index 077a74f..95b4bea 100644 --- a/includes/activitypub/transformer/class-event-organiser.php +++ b/includes/activitypub/transformer/class-event-organiser.php @@ -27,7 +27,7 @@ final class Event_Organiser extends Event { * also contains attributes specific to the Event organiser plugin like the * occurrence id. * - * @param WP_Post $wp_object The WordPress object. + * @param WP_Post $wp_object The WordPress object. * @param string $wp_taxonomy The taxonomy slug of the event post type. */ public function __construct( $wp_object, $wp_taxonomy ) { diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 514f8c2..7056b81 100755 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -103,11 +103,6 @@ function _manually_load_plugin() { $mec_factory->install(); } - if ( 'event_organiser' === $activitypub_event_bridge_integration_filter ) { - require_once $plugin_dir . 'event-organiser/includes/event-organiser-install.php'; - // eventorganiser_install(); - } - // At last manually load our WordPress plugin. require dirname( __DIR__ ) . '/activitypub-event-bridge.php'; } diff --git a/tests/test-class-plugin-event-organiser.php b/tests/test-class-plugin-event-organiser.php index 2a1b45a..a07b5a1 100644 --- a/tests/test-class-plugin-event-organiser.php +++ b/tests/test-class-plugin-event-organiser.php @@ -60,7 +60,6 @@ class Test_Event_Organiser extends WP_UnitTestCase { // Check that we got the right transformer. $this->assertInstanceOf( \ActivityPub_Event_Bridge\Activitypub\Transformer\Event_Organiser::class, $transformer ); - } /**