mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Updated ImportedLinksProcessor to support importing visits if provided
This commit is contained in:
@@ -17,7 +17,7 @@ class VisitLocationTest extends TestCase
|
||||
public function isEmptyReturnsTrueWhenAllValuesAreEmpty(array $args, bool $isEmpty): void
|
||||
{
|
||||
$payload = new Location(...$args);
|
||||
$location = new VisitLocation($payload);
|
||||
$location = VisitLocation::fromGeolocation($payload);
|
||||
|
||||
self::assertEquals($isEmpty, $location->isEmpty());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user