mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Removed all uinnecessary usages of equalsTo param constraint
This commit is contained in:
@@ -36,11 +36,9 @@ class RoleResolverTest extends TestCase
|
||||
array $expectedRoles,
|
||||
int $expectedDomainCalls,
|
||||
): void {
|
||||
$this->domainService
|
||||
->expects($this->exactly($expectedDomainCalls))
|
||||
->method('getOrCreate')
|
||||
->with($this->equalTo('example.com'))
|
||||
->willReturn(Domain::withAuthority('example.com')->setId('1'));
|
||||
$this->domainService->expects($this->exactly($expectedDomainCalls))->method('getOrCreate')->with(
|
||||
'example.com',
|
||||
)->willReturn(Domain::withAuthority('example.com')->setId('1'));
|
||||
|
||||
$result = $this->resolver->determineRoles($input);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user