You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -464,16 +464,16 @@ class MatomoRolesTest extends BackdropWebTestCase {
464
464
465
465
// Check tracking code visibility.
466
466
$this->backdropGet('');
467
-
$this->assertRaw('u+"piwik.php"', '[testMatomoRoleVisibility]: Tracking code is displayed for anonymous users on frontpage with default settings.');
467
+
$this->assertRaw('u+"matomo.php"', '[testMatomoRoleVisibility]: Tracking code is displayed for anonymous users on frontpage with default settings.');
468
468
$this->backdropGet('admin');
469
469
$this->assertRaw('"403/URL = "', '[testMatomoRoleVisibility]: 403 Forbidden tracking code is displayed for anonymous users in admin section with default settings.');
470
470
471
471
$this->backdropLogin($this->admin_user);
472
472
473
473
$this->backdropGet('');
474
-
$this->assertRaw('u+"piwik.php"', '[testMatomoRoleVisibility]: Tracking code is displayed for authenticated users on frontpage with default settings.');
474
+
$this->assertRaw('u+"matomo.php"', '[testMatomoRoleVisibility]: Tracking code is displayed for authenticated users on frontpage with default settings.');
475
475
$this->backdropGet('admin');
476
-
$this->assertNoRaw('u+"piwik.php"', '[testMatomoRoleVisibility]: Tracking code is NOT displayed for authenticated users in admin section with default settings.');
476
+
$this->assertNoRaw('u+"matomo.php"', '[testMatomoRoleVisibility]: Tracking code is NOT displayed for authenticated users in admin section with default settings.');
477
477
478
478
// Test if the non-default settings are working as expected.
479
479
@@ -483,11 +483,11 @@ class MatomoRolesTest extends BackdropWebTestCase {
483
483
cache_flush('page');
484
484
485
485
$this->backdropGet('');
486
-
$this->assertRaw('u+"piwik.php"', '[testMatomoRoleVisibility]: Tracking code is displayed for authenticated users only on frontpage.');
486
+
$this->assertRaw('u+"matomo.php"', '[testMatomoRoleVisibility]: Tracking code is displayed for authenticated users only on frontpage.');
487
487
488
488
$this->backdropLogout();
489
489
$this->backdropGet('');
490
-
$this->assertNoRaw('u+"piwik.php"', '[testMatomoRoleVisibility]: Tracking code is NOT displayed for anonymous users on frontpage.');
490
+
$this->assertNoRaw('u+"matomo.php"', '[testMatomoRoleVisibility]: Tracking code is NOT displayed for anonymous users on frontpage.');
491
491
492
492
// Add to every role except the selected ones.
493
493
$config->set('visibility_roles', 1);
@@ -498,30 +498,30 @@ class MatomoRolesTest extends BackdropWebTestCase {
498
498
499
499
// Check tracking code visibility.
500
500
$this->backdropGet('');
501
-
$this->assertRaw('u+"piwik.php"', '[testMatomoRoleVisibility]: Tracking code is added to every role and displayed for anonymous users.');
501
+
$this->assertRaw('u+"matomo.php"', '[testMatomoRoleVisibility]: Tracking code is added to every role and displayed for anonymous users.');
502
502
$this->backdropGet('admin');
503
503
$this->assertRaw('"403/URL = "', '[testMatomoRoleVisibility]: 403 Forbidden tracking code is shown for anonymous users if every role except the selected ones is selected.');
504
504
505
505
$this->backdropLogin($this->admin_user);
506
506
507
507
$this->backdropGet('');
508
-
$this->assertRaw('u+"piwik.php"', '[testMatomoRoleVisibility]: Tracking code is added to every role and displayed on frontpage for authenticated users.');
508
+
$this->assertRaw('u+"matomo.php"', '[testMatomoRoleVisibility]: Tracking code is added to every role and displayed on frontpage for authenticated users.');
509
509
$this->backdropGet('admin');
510
-
$this->assertNoRaw('u+"piwik.php"', '[testMatomoRoleVisibility]: Tracking code is added to every role and NOT displayed in admin section for authenticated users.');
510
+
$this->assertNoRaw('u+"matomo.php"', '[testMatomoRoleVisibility]: Tracking code is added to every role and NOT displayed in admin section for authenticated users.');
0 commit comments