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
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2018-10-11 01:11:32 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2018-10-11 01:11:32 +0300
commit8c07b4d61e662c77f1eb249d22256c5fa98ab496 (patch)
tree42b4a4bdcfbaf88e2d516ed969a07ae4d34f4503 /tests/javascript
parent9eb3be3378b0cf9ef8aadc2ed206c11188e446db (diff)
Support window.Matomo in JS Tracker (#13568)
* support window.Matomo in JS Tracker * Fix integration tests.
Diffstat (limited to 'tests/javascript')
-rw-r--r--tests/javascript/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/javascript/index.php b/tests/javascript/index.php
index 2a83d71152..0381e465b4 100644
--- a/tests/javascript/index.php
+++ b/tests/javascript/index.php
@@ -2132,12 +2132,13 @@ function PiwikTest() {
});
test("API methods", function() {
- expect(102);
+ expect(103);
equal( typeof Piwik.addPlugin, 'function', 'addPlugin' );
equal( typeof Piwik.addPlugin, 'function', 'addTracker' );
equal( typeof Piwik.getTracker, 'function', 'getTracker' );
equal( typeof Piwik.getAsyncTracker, 'function', 'getAsyncTracker' );
+ strictEqual( Piwik, Matomo, 'Piwik === Matomo' );
var tracker;