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

@@ -33,7 +33,7 @@ class GlobalVisitsActionTest extends TestCase
$resp = $this->action->handle(ServerRequestFactory::fromGlobals());
$payload = $resp->getPayload();
$this->assertEquals($payload, ['visits' => $stats]);
self::assertEquals($payload, ['visits' => $stats]);
$getStats->shouldHaveBeenCalledOnce();
}
}