mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 04:03:12 +08:00
Applied API role specs to domains list
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user