Skip to content

Commit b062597

Browse files
committed
Fixed unit tests
1 parent ba7f05a commit b062597

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/MatomoTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,14 @@ public function testInvalidUrl()
208208
*/
209209
public function testOptionalParameters()
210210
{
211-
$this->_matomo->setDate('2018-10-01');
211+
$this->_matomo->setDate('2019-07-01');
212212
$this->_matomo->setPeriod(Matomo::PERIOD_WEEK);
213213
$result = $this->_matomo->getWebsites('', [
214214
'flat' => 1,
215215
]);
216216

217217
$this->assertIsArray($result);
218-
$this->assertEquals(934, $result[0]->nb_visits);
218+
$this->assertEquals(717, $result[0]->nb_visits);
219219
}
220220

221221
/**
@@ -225,7 +225,7 @@ public function testOptionalParameters()
225225
*/
226226
public function testCustomVariables()
227227
{
228-
$this->_matomo->setDate('2018-10-01');
228+
$this->_matomo->setDate('2019-07-01');
229229
$this->_matomo->setPeriod(Matomo::PERIOD_WEEK);
230230
$result = $this->_matomo->getCustomVariables();
231231

0 commit comments

Comments
 (0)