mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 09:43:13 +08:00
Reduce duplication in actions listing visits
This commit is contained in:
@@ -27,7 +27,7 @@ class OrphanVisitsPaginatorAdapterTest extends TestCase
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->repo = $this->createMock(VisitRepositoryInterface::class);
|
||||
$this->params = OrphanVisitsParams::fromRawData([]);
|
||||
$this->params = new OrphanVisitsParams();
|
||||
$this->apiKey = ApiKey::create();
|
||||
|
||||
$this->adapter = new OrphanVisitsPaginatorAdapter($this->repo, $this->params, $this->apiKey);
|
||||
|
||||
Reference in New Issue
Block a user