mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 12:13:13 +08:00
Refactored method in DomainRepo, as one fo their arguments was no longer used
This commit is contained in:
@@ -41,7 +41,7 @@ class DomainServiceTest extends TestCase
|
||||
{
|
||||
$repo = $this->prophesize(DomainRepositoryInterface::class);
|
||||
$getRepo = $this->em->getRepository(Domain::class)->willReturn($repo->reveal());
|
||||
$findDomains = $repo->findDomainsWithout(null, $apiKey)->willReturn($domains);
|
||||
$findDomains = $repo->findDomains($apiKey)->willReturn($domains);
|
||||
|
||||
$result = $this->domainService->listDomains($apiKey);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user