Refactored method in DomainRepo, as one fo their arguments was no longer used

This commit is contained in:
Alejandro Celaya
2021-12-09 12:43:49 +01:00
parent ee43e68a57
commit 9752abff19
7 changed files with 16 additions and 67 deletions

View File

@@ -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);