Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthieu Aubry <mattab@users.noreply.github.com>2019-09-27 01:50:23 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2019-09-27 01:50:23 +0300
commitbbe25448b9f926bcf20b320bbccbb09e6eee50f7 (patch)
tree2d7068f6de5d3395ca0e6d7caf0667ea9b9082b9 /tests
parentcc391460981368ff6afa79c619c89b55cc45239f (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')
-rw-r--r--tests/PHPUnit/Integration/ProfessionalSupport/AdvertisingTest.php6
-rw-r--r--tests/UI/expected-screenshots/UIIntegrationTest_db_connect_error.png4
-rw-r--r--tests/UI/expected-screenshots/UIIntegrationTest_invalid_idsite_superuser.png4
-rw-r--r--tests/UI/expected-screenshots/UIIntegrationTest_widgetize_apidisallowed.png4
4 files changed, 9 insertions, 9 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)
diff --git a/tests/UI/expected-screenshots/UIIntegrationTest_db_connect_error.png b/tests/UI/expected-screenshots/UIIntegrationTest_db_connect_error.png
index 1c097cf350..675c5885d0 100644
--- a/tests/UI/expected-screenshots/UIIntegrationTest_db_connect_error.png
+++ b/tests/UI/expected-screenshots/UIIntegrationTest_db_connect_error.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:07dff925c5675d9714b5591f89dc1229409d7a8c4511cd518416130a3342f63b
-size 76199
+oid sha256:7315e25a8a543d06d68bbd4435b7648542503b20633fd231e0c0fec62868fe36
+size 75062
diff --git a/tests/UI/expected-screenshots/UIIntegrationTest_invalid_idsite_superuser.png b/tests/UI/expected-screenshots/UIIntegrationTest_invalid_idsite_superuser.png
index 50d37c258d..d5daaf6e84 100644
--- a/tests/UI/expected-screenshots/UIIntegrationTest_invalid_idsite_superuser.png
+++ b/tests/UI/expected-screenshots/UIIntegrationTest_invalid_idsite_superuser.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:894ace17a63fe41d3db8631a4cf9826bf9a8753a8cb1b63c5b7b0aee0c81eb59
-size 39287
+oid sha256:f8d3c96b8d9174f41a8bfd703c8f10ac73b5fd647c12c0cc5d06d1817de7fa60
+size 38063
diff --git a/tests/UI/expected-screenshots/UIIntegrationTest_widgetize_apidisallowed.png b/tests/UI/expected-screenshots/UIIntegrationTest_widgetize_apidisallowed.png
index 1c4704a69e..398ef7dda0 100644
--- a/tests/UI/expected-screenshots/UIIntegrationTest_widgetize_apidisallowed.png
+++ b/tests/UI/expected-screenshots/UIIntegrationTest_widgetize_apidisallowed.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:2b483d100ffdaa0634c6a5d5852472c23f35d031cd1608e2374929817ecb0ccc
-size 52698
+oid sha256:57b674b96c0ee7c46439159ac72c224617fbe94f263c34f06ac3be5d7490fa0f
+size 51463