Skip to content

Commit

Permalink
Replaced 'Piwik' with 'Matomo' in console output (#16475)
Browse files Browse the repository at this point in the history
  • Loading branch information
nina-py authored Sep 26, 2020
1 parent 9967583 commit a49ed63
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plugins/CustomDimensions/Commands/AddCustomDimension.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$numDimensionsAvailable = $tracking->getNumInstalledIndexes();

$this->writeSuccessMessage($output, array(
sprintf('Your Piwik is now configured for up to %d Custom Dimensions in scope %s.', $numDimensionsAvailable, $scope)
sprintf('Your Matomo is now configured for up to %d Custom Dimensions in scope %s.', $numDimensionsAvailable, $scope)
));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$numDimensionsAvailable = $tracking->getNumInstalledIndexes();

$this->writeSuccessMessage($output, array(
sprintf('Your Piwik is now configured for up to %d Custom Dimensions in scope %s.', $numDimensionsAvailable, $scope)
sprintf('Your Matomo is now configured for up to %d Custom Dimensions in scope %s.', $numDimensionsAvailable, $scope)
));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function testExecute_ShouldAddSpecifiedCount()
self::assertStringContainsString('Adding 3 Custom Dimension(s) in scope action.', $result);
self::assertStringContainsString('Are you sure you want to perform this action?', $result);
self::assertStringContainsString('Starting to add Custom Dimension(s)', $result);
self::assertStringContainsString('Your Piwik is now configured for up to 8 Custom Dimensions in scope action.', $result);
self::assertStringContainsString('Your Matomo is now configured for up to 8 Custom Dimensions in scope action.', $result);

$logVisit = new LogTable(CustomDimensions::SCOPE_VISIT);
$this->assertSame(range(1,5), $logVisit->getInstalledIndexes());
Expand Down Expand Up @@ -106,7 +106,7 @@ public function testExecute_ShouldAddSpecifiedCount_IfScopeIsVisitShouldAlsoUpda
self::assertStringContainsString('Adding 2 Custom Dimension(s) in scope visit.', $result);
self::assertStringContainsString('Are you sure you want to perform this action?', $result);
self::assertStringContainsString('Starting to add Custom Dimension(s)', $result);
self::assertStringContainsString('Your Piwik is now configured for up to 7 Custom Dimensions in scope visit.', $result);
self::assertStringContainsString('Your Matomo is now configured for up to 7 Custom Dimensions in scope visit.', $result);

$logVisit = new LogTable(CustomDimensions::SCOPE_VISIT);
$this->assertSame(range(1,7), $logVisit->getInstalledIndexes());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function testExecute_ShouldAddSpecifiedCount()
self::assertStringContainsString('Remove Custom Dimension at index 3 in scope action.', $result);
self::assertStringContainsString('Are you sure you want to perform this action?', $result);
self::assertStringContainsString('Starting to remove this Custom Dimension', $result);
self::assertStringContainsString('Your Piwik is now configured for up to 4 Custom Dimensions in scope action.', $result);
self::assertStringContainsString('Your Matomo is now configured for up to 4 Custom Dimensions in scope action.', $result);

$logVisit = new LogTable(CustomDimensions::SCOPE_VISIT);
$this->assertSame(range(1,5), $logVisit->getInstalledIndexes());
Expand All @@ -111,7 +111,7 @@ public function testExecute_ShouldAddSpecifiedCount_IfScopeIsVisitShouldAlsoUpda
self::assertStringContainsString('Remove Custom Dimension at index 2 in scope visit', $result);
self::assertStringContainsString('Are you sure you want to perform this action?', $result);
self::assertStringContainsString('Starting to remove this Custom Dimension', $result);
self::assertStringContainsString('Your Piwik is now configured for up to 4 Custom Dimensions in scope visit.', $result);
self::assertStringContainsString('Your Matomo is now configured for up to 4 Custom Dimensions in scope visit.', $result);

$logVisit = new LogTable(CustomDimensions::SCOPE_VISIT);
$this->assertSame(array(1,3,4,5), $logVisit->getInstalledIndexes());
Expand Down

0 comments on commit a49ed63

Please sign in to comment.