diff --git a/tests/WP/Editors/Framework/Site/Post_Site_Information_Test.php b/tests/WP/Editors/Framework/Site/Post_Site_Information_Test.php index 47edfd1c382..45f75860f69 100644 --- a/tests/WP/Editors/Framework/Site/Post_Site_Information_Test.php +++ b/tests/WP/Editors/Framework/Site/Post_Site_Information_Test.php @@ -118,18 +118,9 @@ public function test_legacy_site_information() { ], 'dismissedAlerts' => false, 'currentPromotions' => [], - 'webinarIntroBlockEditorUrl' => 'https://yoa.st/webinar-intro-block-editor?php_version=7.4&platform=wordpress&platform_version=6.6-alpha-57778-src&software=free&software_version=22.7-RC3&days_active=14&user_language=en_US', + 'webinarIntroBlockEditorUrl' => $this->short_link_helper->get( 'https://yoa.st/webinar-intro-block-editor' ), 'blackFridayBlockEditorUrl' => '', - 'linkParams' => - [ - 'php_version' => '7.4', - 'platform' => 'wordpress', - 'platform_version' => '6.6-alpha-57778-src', - 'software' => 'free', - 'software_version' => '22.7-RC3', - 'days_active' => 14, - 'user_language' => 'en_US', - ], + 'linkParams' => $this->short_link_helper->get_query_params(), 'pluginUrl' => 'http://example.org/wp-content/plugins/wordpress-seo', 'wistiaEmbedPermission' => true, ]; @@ -156,18 +147,9 @@ public function test_site_information() { 'base_url' => 'http://example.org/', 'dismissedAlerts' => false, 'currentPromotions' => [], - 'webinarIntroBlockEditorUrl' => 'https://yoa.st/webinar-intro-block-editor?php_version=7.4&platform=wordpress&platform_version=6.6-alpha-57778-src&software=free&software_version=22.7-RC3&days_active=14&user_language=en_US', + 'webinarIntroBlockEditorUrl' => $this->short_link_helper->get( 'https://yoa.st/webinar-intro-block-editor' ), 'blackFridayBlockEditorUrl' => '', - 'linkParams' => - [ - 'php_version' => '7.4', - 'platform' => 'wordpress', - 'platform_version' => '6.6-alpha-57778-src', - 'software' => 'free', - 'software_version' => '22.7-RC3', - 'days_active' => 14, - 'user_language' => 'en_US', - ], + 'linkParams' => $this->short_link_helper->get_query_params(), 'pluginUrl' => 'http://example.org/wp-content/plugins/wordpress-seo', 'wistiaEmbedPermission' => true, 'site_name' => 'Test Blog',