diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2018-11-29 10:22:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-29 10:22:15 +0300 |
commit | 73010596f01b9660899267305fe0cf5064428753 (patch) | |
tree | 367851f6c476d10f51c0a2a8756f02d260583d83 /tests/PHPUnit/Integration/ReleaseCheckListTest.php | |
parent | 970883b106229f11a071c5470538bfb29dc83871 (diff) |
Make matomo.js and matomo.php the default Tracking API endpoints used (#13596)
* Make matomo.js and matomo.php the default Tracking API endpoints used
* few fixes
* fix few tests
* update matomo php tracker in composer
* make sure to record install version
* do not overwrite ever install version
* trying to fix test
* more tweaks and fix tests
* prefer matomo endpoint in the ui, fix some tests
* file was still needed
* apply review feedback
* fix ui tests
Diffstat (limited to 'tests/PHPUnit/Integration/ReleaseCheckListTest.php')
-rw-r--r-- | tests/PHPUnit/Integration/ReleaseCheckListTest.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/PHPUnit/Integration/ReleaseCheckListTest.php b/tests/PHPUnit/Integration/ReleaseCheckListTest.php index bce8b56c24..0fb62a64c5 100644 --- a/tests/PHPUnit/Integration/ReleaseCheckListTest.php +++ b/tests/PHPUnit/Integration/ReleaseCheckListTest.php @@ -492,6 +492,15 @@ class ReleaseCheckListTest extends \PHPUnit_Framework_TestCase ); } + public function test_piwikJs_SameAsMatomoJs() + { + $this->assertFileEquals( + PIWIK_DOCUMENT_ROOT . '/matomo.js', + PIWIK_DOCUMENT_ROOT . '/piwik.js', + '/piwik.js does not match /matomo.js, please re-generate the minified files using instructions in /js/README' + ); + } + public function testTmpDirectoryContainsGitKeep() { $this->assertFileExists(PIWIK_DOCUMENT_ROOT . '/tmp/.gitkeep'); |