mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Invoke PHPUnit's assertions statically
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user