From 61ed9e2c094682792ed5840428a614f4e8e8e1cf Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Tue, 21 Jan 2020 14:29:00 +1300 Subject: enable send beacon by default (#15405) --- tests/javascript/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/javascript') diff --git a/tests/javascript/index.php b/tests/javascript/index.php index 900aa2dcbe..46c6289c70 100644 --- a/tests/javascript/index.php +++ b/tests/javascript/index.php @@ -2149,7 +2149,7 @@ function PiwikTest() { }); test("API methods", function() { - expect(110); + expect(111); equal( typeof Piwik.addPlugin, 'function', 'addPlugin' ); equal( typeof Piwik.addPlugin, 'function', 'addTracker' ); @@ -2193,6 +2193,7 @@ function PiwikTest() { equal( typeof tracker.setLinkTrackingTimer, 'function', 'setLinkTrackingTimer' ); equal( typeof tracker.getLinkTrackingTimer, 'function', 'getLinkTrackingTimer' ); equal( typeof tracker.alwaysUseSendBeacon, 'function', 'alwaysUseSendBeacon' ); + equal( typeof tracker.disableAlwaysUseSendBeacon, 'function', 'disableAlwaysUseSendBeacon' ); equal( typeof tracker.setDownloadExtensions, 'function', 'setDownloadExtensions' ); equal( typeof tracker.addDownloadExtensions, 'function', 'addDownloadExtensions' ); equal( typeof tracker.removeDownloadExtensions, 'function', 'removeDownloadExtensions' ); -- cgit v1.2.3