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:
@@ -37,7 +37,7 @@ class ShortUrlVisitsActionTest extends TestCase
|
||||
)->shouldBeCalledOnce();
|
||||
|
||||
$response = $this->action->handle((new ServerRequest())->withAttribute('shortCode', $shortCode));
|
||||
$this->assertEquals(200, $response->getStatusCode());
|
||||
self::assertEquals(200, $response->getStatusCode());
|
||||
}
|
||||
|
||||
/** @test */
|
||||
@@ -60,6 +60,6 @@ class ShortUrlVisitsActionTest extends TestCase
|
||||
'itemsPerPage' => '10',
|
||||
]),
|
||||
);
|
||||
$this->assertEquals(200, $response->getStatusCode());
|
||||
self::assertEquals(200, $response->getStatusCode());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user