Skip to content

Commit

Permalink
Use dynamic links.
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsoo committed May 7, 2024
1 parent 91196f3 commit 41803e3
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions tests/WP/Editors/Framework/Site/Post_Site_Information_Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];
Expand All @@ -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',
Expand Down

0 comments on commit 41803e3

Please sign in to comment.