mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 09:43:13 +08:00
Updated testing tools
This commit is contained in:
@@ -25,7 +25,7 @@ class ShortUrlRepositoryTest extends DatabaseTestCase
|
||||
/** @var ShortUrlRepository */
|
||||
private $repo;
|
||||
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
$this->repo = $this->getEntityManager()->getRepository(ShortUrl::class);
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ class TagRepositoryTest extends DatabaseTestCase
|
||||
/** @var TagRepository */
|
||||
private $repo;
|
||||
|
||||
protected function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->repo = $this->getEntityManager()->getRepository(Tag::class);
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ class VisitRepositoryTest extends DatabaseTestCase
|
||||
/** @var VisitRepository */
|
||||
private $repo;
|
||||
|
||||
protected function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->repo = $this->getEntityManager()->getRepository(Visit::class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user