diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2019-09-27 01:50:23 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2019-09-27 01:50:23 +0300 |
commit | bbe25448b9f926bcf20b320bbccbb09e6eee50f7 (patch) | |
tree | 2d7068f6de5d3395ca0e6d7caf0667ea9b9082b9 /tests/PHPUnit/Integration | |
parent | cc391460981368ff6afa79c619c89b55cc45239f (diff) |
Small tweaks to some of the in-app links to matomo.org (#14912)
* * Rename Piwik_App campaign name parameter to Matomo_App
* Change some links from matomo.org/support/ to matomo.org/support-plans/
* fix tests
Diffstat (limited to 'tests/PHPUnit/Integration')
-rw-r--r-- | tests/PHPUnit/Integration/ProfessionalSupport/AdvertisingTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/PHPUnit/Integration/ProfessionalSupport/AdvertisingTest.php b/tests/PHPUnit/Integration/ProfessionalSupport/AdvertisingTest.php index 159aef116c..946c226104 100644 --- a/tests/PHPUnit/Integration/ProfessionalSupport/AdvertisingTest.php +++ b/tests/PHPUnit/Integration/ProfessionalSupport/AdvertisingTest.php @@ -82,14 +82,14 @@ class AdvertisingTest extends \PHPUnit_Framework_TestCase { $link = $this->advertising->addPromoCampaignParametersToUrl($this->exampleUrl, 'MyName', 'Installation_Start'); - $this->assertSame($this->exampleUrl . '?pk_campaign=MyName&pk_medium=Installation_Start&pk_source=Piwik_App', $link); + $this->assertSame($this->exampleUrl . '?pk_campaign=MyName&pk_medium=Installation_Start&pk_source=Matomo_App', $link); } public function test_addPromoCampaignParametersToUrl_withContentWithoutQuery() { $link = $this->advertising->addPromoCampaignParametersToUrl($this->exampleUrl, 'MyName', 'Installation_Start', 'MyContent'); - $this->assertSame($this->exampleUrl . '?pk_campaign=MyName&pk_medium=Installation_Start&pk_source=Piwik_App&pk_content=MyContent', $link); + $this->assertSame($this->exampleUrl . '?pk_campaign=MyName&pk_medium=Installation_Start&pk_source=Matomo_App&pk_content=MyContent', $link); } public function test_addPromoCampaignParametersToUrl_withQuery() @@ -97,7 +97,7 @@ class AdvertisingTest extends \PHPUnit_Framework_TestCase $url = $this->exampleUrl . '?foo=bar'; $link = $this->advertising->addPromoCampaignParametersToUrl($url, 'MyName', 'Installation_Start'); - $this->assertSame($url . '&pk_campaign=MyName&pk_medium=Installation_Start&pk_source=Piwik_App', $link); + $this->assertSame($url . '&pk_campaign=MyName&pk_medium=Installation_Start&pk_source=Matomo_App', $link); } private function buildAdvertising($config) |