phpcs
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Has been cancelled
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Has been cancelled
This commit is contained in:
parent
e981827e0a
commit
adfa25d148
3 changed files with 1 additions and 7 deletions
|
@ -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 ) {
|
||||
|
|
|
@ -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';
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue