Applied API role specs to domains list

This commit is contained in:
Alejandro Celaya
2021-01-04 15:55:59 +01:00
parent 262a06f624
commit 19834f6715
9 changed files with 40 additions and 16 deletions

View File

@@ -34,7 +34,7 @@ class DomainServiceTest extends TestCase
{
$repo = $this->prophesize(DomainRepositoryInterface::class);
$getRepo = $this->em->getRepository(Domain::class)->willReturn($repo->reveal());
$findDomains = $repo->findDomainsWithout('default.com')->willReturn($domains);
$findDomains = $repo->findDomainsWithout('default.com', null)->willReturn($domains);
$result = $this->domainService->listDomains();