mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Updated ImportedLinksProcessor to support importing visits if provided
This commit is contained in:
@@ -68,7 +68,7 @@ class OrphanVisitDataTransformerTest extends TestCase
|
||||
->withHeader('Referer', 'referer')
|
||||
->withUri(new Uri('https://doma.in/foo/bar')),
|
||||
),
|
||||
)->locate($location = new VisitLocation(Location::emptyInstance())),
|
||||
)->locate($location = VisitLocation::fromGeolocation(Location::emptyInstance())),
|
||||
[
|
||||
'referer' => 'referer',
|
||||
'date' => $visit->getDate()->toAtomString(),
|
||||
|
||||
Reference in New Issue
Block a user