mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 04:03:12 +08:00
Reduced amount of dead lines in tests
This commit is contained in:
@@ -26,9 +26,7 @@ class QrCodeCacheMiddlewareTest extends TestCase
|
||||
$this->middleware = new QrCodeCacheMiddleware($this->cache);
|
||||
}
|
||||
|
||||
/**
|
||||
* @test
|
||||
*/
|
||||
/** @test */
|
||||
public function noCachedPathFallsBackToNextMiddleware()
|
||||
{
|
||||
$delegate = $this->prophesize(RequestHandlerInterface::class);
|
||||
@@ -39,9 +37,7 @@ class QrCodeCacheMiddlewareTest extends TestCase
|
||||
$this->assertTrue($this->cache->contains('/foo/bar'));
|
||||
}
|
||||
|
||||
/**
|
||||
* @test
|
||||
*/
|
||||
/** @test */
|
||||
public function cachedPathReturnsCacheContent()
|
||||
{
|
||||
$isCalled = false;
|
||||
|
||||
Reference in New Issue
Block a user