phpcs
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 47s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Successful in 1m4s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Successful in 1m5s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m4s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m5s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m4s
PHPUnit / PHPUnit – PHP 8.4 (pull_request) Successful in 1m6s

This commit is contained in:
André Menrath 2025-01-03 10:11:49 +01:00
parent b7747de5ac
commit c55ce36499
2 changed files with 7 additions and 7 deletions

View file

@ -274,7 +274,7 @@ class Event_Sources {
} }
} }
\wp_delete_post( $post->post_id , true ); \wp_delete_post( $post->post_id, true );
} }
// Clean up the query. // Clean up the query.

View file

@ -371,8 +371,8 @@ class Test_Event_Sources extends \WP_UnitTestCase {
'id' => 'https://remote.example/@organizer/events/birthday-party', 'id' => 'https://remote.example/@organizer/events/birthday-party',
'type' => 'Event', 'type' => 'Event',
'name' => 'Fediverse Party', 'name' => 'Fediverse Party',
'startTime' => \gmdate( 'Y-m-d\TH:i:s\Z', time() + 2* WEEK_IN_SECONDS ), 'startTime' => \gmdate( 'Y-m-d\TH:i:s\Z', time() + 2 * WEEK_IN_SECONDS ),
'endTime' => \gmdate( 'Y-m-d\TH:i:s\Z', time() + 2* WEEK_IN_SECONDS + HOUR_IN_SECONDS ), 'endTime' => \gmdate( 'Y-m-d\TH:i:s\Z', time() + 2 * WEEK_IN_SECONDS + HOUR_IN_SECONDS ),
'to' => 'https://www.w3.org/ns/activitystreams#Public', 'to' => 'https://www.w3.org/ns/activitystreams#Public',
'published' => '2020-01-01T00:00:00Z', 'published' => '2020-01-01T00:00:00Z',
), ),