Add Support for Event Organiser #83
2 changed files with 2 additions and 5 deletions
|
@ -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';
|
||||
}
|
||||
|
|
|
@ -23,6 +23,8 @@ class Test_Event_Organiser extends WP_UnitTestCase {
|
|||
$aec = \ActivityPub_Event_Bridge\Setup::get_instance();
|
||||
$aec->activate_activitypub_support_for_active_event_plugins();
|
||||
|
||||
eventorganiser_install();
|
||||
|
||||
// Delete all posts afterwards.
|
||||
_delete_all_posts();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue