Invoke PHPUnit's assertions statically

This commit is contained in:
Daniel Londero
2020-10-04 00:35:14 +02:00
parent d426dbc684
commit 065d314608
99 changed files with 567 additions and 567 deletions

View File

@@ -38,7 +38,7 @@ class VisitsStatsHelperTest extends TestCase
$stats = $this->helper->getVisitsStats();
$this->assertEquals(new VisitsStats($expectedCount), $stats);
self::assertEquals(new VisitsStats($expectedCount), $stats);
$count->shouldHaveBeenCalledOnce();
$getRepo->shouldHaveBeenCalledOnce();
}