From 04e418d90419d5cf27de6aafcd3c0c6f750774fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Fri, 18 Oct 2024 08:05:25 +0200 Subject: [PATCH] generate tables for mec (install hook) --- tests/bootstrap.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 95f0da5..df5b41e 100755 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -91,6 +91,12 @@ function _manually_load_plugin() { em_create_locations_table(); } + if ( 'modern_events_calendar_lite' === $activitypub_event_extension_integration_filter ) { + require_once $plugin_dir . 'modern-events-calendar-lite/app/libraries/factory.php'; + $mec_factory = new MEC_factory(); + $mec_factory->install(); + } + // At last manually load our WordPress plugin. require dirname( __DIR__ ) . '/activitypub-event-bridge.php'; }