mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 04:03:12 +08:00
Removed all uinnecessary usages of equalsTo param constraint
This commit is contained in:
@@ -46,10 +46,10 @@ class GetDomainVisitsCommandTest extends TestCase
|
||||
);
|
||||
$domain = 'doma.in';
|
||||
$this->visitsHelper->expects($this->once())->method('visitsForDomain')->with(
|
||||
$this->equalTo($domain),
|
||||
$domain,
|
||||
$this->anything(),
|
||||
)->willReturn(new Paginator(new ArrayAdapter([$visit])));
|
||||
$this->stringifier->expects($this->once())->method('stringify')->with($this->equalTo($shortUrl))->willReturn(
|
||||
$this->stringifier->expects($this->once())->method('stringify')->with($shortUrl)->willReturn(
|
||||
'the_short_url',
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user