mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Modernize Visit entity
This commit is contained in:
@@ -76,13 +76,13 @@ class SendVisitToMatomoTest extends TestCase
|
||||
|
||||
if ($visit->isOrphan()) {
|
||||
$tracker->expects($this->exactly(2))->method('setCustomTrackingParameter')->willReturnMap([
|
||||
['type', $visit->type()->value, $tracker],
|
||||
['type', $visit->type->value, $tracker],
|
||||
['orphan', 'true', $tracker],
|
||||
]);
|
||||
} else {
|
||||
$tracker->expects($this->once())->method('setCustomTrackingParameter')->with(
|
||||
'type',
|
||||
$visit->type()->value,
|
||||
$visit->type->value,
|
||||
)->willReturn($tracker);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user