Skip to content

Commit

Permalink
Update tests/Unit/MatomoTrackerTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Mar 7, 2023
1 parent cc90fd6 commit 196dc8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Unit/MatomoTrackerTest.php
Expand Up @@ -76,7 +76,7 @@ public function test_setApiUrl()
{
$newApiUrl = 'https://NEW-API-URL.com';
$tracker = new \MatomoTracker(1, self::TEST_URL);
$tracker->setApiUrl('https://NEW-API-URL.com');
$tracker->setApiUrl($newApiUrl);
$url = $tracker->getUrlTrackPageView('test title');

$this->assertSame(substr($url, 0, strlen($newApiUrl)), $newApiUrl);
Expand Down

0 comments on commit 196dc8e

Please sign in to comment.