We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a90c357 commit a296e8bCopy full SHA for a296e8b
tests/MatomoTest.php
@@ -101,7 +101,7 @@ public function testMultipleDates()
101
$result = $this->_matomo->getVisitsSummary();
102
103
$this->assertIsObject($result);
104
- $this->assertEquals(7, count((array) $result));
+ $this->assertCount(7, (array) $result);
105
}
106
107
/**
@@ -229,7 +229,7 @@ public function testCustomVariables()
229
$this->_matomo->setPeriod(Matomo::PERIOD_WEEK);
230
$result = $this->_matomo->getCustomVariables();
231
232
- $this->assertEquals(15, count($result));
+ $this->assertCount(15, $result);
233
234
235
0 commit comments