From 583fd2c78030a0b5ba390399c0102fc9d9bf8b29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Wed, 9 Oct 2024 19:00:42 +0200 Subject: [PATCH] phpcs --- tests/test-class-plugin-wp-event-manager.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test-class-plugin-wp-event-manager.php b/tests/test-class-plugin-wp-event-manager.php index 62edc5a..bee4a4c 100644 --- a/tests/test-class-plugin-wp-event-manager.php +++ b/tests/test-class-plugin-wp-event-manager.php @@ -15,8 +15,8 @@ class Test_WP_Event_Manager extends WP_UnitTestCase { public function set_up() { parent::set_up(); - if ( ! function_exists( 'vsel_custom_post_type' ) ) { - self::markTestSkipped( 'VS Event List plugin is not active.' ); + if ( ! function_exists( 'wp_event_manager_notify_new_user' ) ) { + self::markTestSkipped( 'WP Event Manager plugin is not active.' ); } // Make sure that ActivityPub support is enabled for The Events Calendar. @@ -103,11 +103,11 @@ class Test_WP_Event_Manager extends WP_UnitTestCase { // Insert a new Event. $wp_post_id = wp_insert_post( array( - 'post_title' => 'WP Event Manager TestEvent', - 'post_status' => 'published', - 'post_type' => 'event_listing', + 'post_title' => 'WP Event Manager TestEvent', + 'post_status' => 'published', + 'post_type' => 'event_listing', 'post_content' => 'Come to my WP Event Manager event!', - 'meta_input' => array( + 'meta_input' => array( 'event-start-date' => \gmdate( 'Y-m-d H:i:s', strtotime( '+10 days 15:00:00' ) ), 'event-date' => \gmdate( 'Y-m-d H:i:s', strtotime( '+10 days 16:00:00' ) ), '_event_video_url' => 'https://event-federation.eu/meeting-room',