run eventorganiser_install in test set_up function
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 44s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Successful in 1m0s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Successful in 1m1s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m5s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m1s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m3s
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 44s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Successful in 1m0s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Successful in 1m1s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m5s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m1s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m3s
This commit is contained in:
parent
06d73671fe
commit
226095bd05
2 changed files with 2 additions and 5 deletions
|
@ -103,11 +103,6 @@ function _manually_load_plugin() {
|
||||||
$mec_factory->install();
|
$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.
|
// At last manually load our WordPress plugin.
|
||||||
require dirname( __DIR__ ) . '/activitypub-event-bridge.php';
|
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 = \ActivityPub_Event_Bridge\Setup::get_instance();
|
||||||
$aec->activate_activitypub_support_for_active_event_plugins();
|
$aec->activate_activitypub_support_for_active_event_plugins();
|
||||||
|
|
||||||
|
eventorganiser_install();
|
||||||
|
|
||||||
// Delete all posts afterwards.
|
// Delete all posts afterwards.
|
||||||
_delete_all_posts();
|
_delete_all_posts();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue