fix phpcs and typos
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 49s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Successful in 1m5s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Successful in 1m4s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m2s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m2s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m4s
PHPUnit / PHPUnit – PHP 8.4 (pull_request) Successful in 1m19s
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 49s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Successful in 1m5s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Successful in 1m4s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m2s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m2s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m4s
PHPUnit / PHPUnit – PHP 8.4 (pull_request) Successful in 1m19s
This commit is contained in:
parent
aca96ae712
commit
94b7812ecf
2 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ class Event_Sources extends WP_List_Table {
|
|||
'icon' => esc_attr( $actor->get_icon_url() ),
|
||||
'name' => esc_attr( $actor->get_name() ),
|
||||
'url' => esc_attr( object_to_uri( $actor->get_id() ) ),
|
||||
'accepted' => esc_attr( get_post_meta( $actor->get__id(), '_event_bridge_for_activitypub_accept_of_follow', true ) ),
|
||||
'accepted' => esc_attr( get_post_meta( $actor->get__id(), '_event_bridge_for_activitypub_accept_of_follow', true ) ),
|
||||
'identifier' => esc_attr( $actor->get_id() ),
|
||||
'published' => esc_attr( $actor->get_published() ),
|
||||
'modified' => esc_attr( $actor->get_updated() ),
|
||||
|
|
|
@ -215,7 +215,7 @@ class Test_GatherPress extends \WP_UnitTestCase {
|
|||
$event = new Event( $the_query->get_posts()[0] );
|
||||
|
||||
$this->assertEquals( 'Updated name', $event->event->post_title );
|
||||
$this->assertEquals( 'Updated address', $event->get_venue_information()['full address'] );
|
||||
$this->assertEquals( 'Updated address', $event->get_venue_information()['full_address'] );
|
||||
|
||||
// Test delete.
|
||||
$json['type'] = 'Delete';
|
||||
|
|
Loading…
Reference in a new issue