Skip to content

Commit 6eb2083

Browse files
test: cover new proximity filters
1 parent 47a43dc commit 6eb2083

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/FingerprintApiTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,8 @@ public function testSearchEventsWithAllParams()
850850
'proxy' => 'true',
851851
'sdk_version' => 'testSdkVersion',
852852
'sdk_platform' => 'testSdkPlatform',
853+
'proximity_id' => 'testProximityId',
854+
'proximity_precision_radius' => 10,
853855
];
854856

855857
$extraKeys = ['ii', 'visitor_id'];
@@ -900,7 +902,9 @@ public function testSearchEventsWithAllParams()
900902
proxy: true,
901903
sdk_version: 'testSdkVersion',
902904
sdk_platform: 'testSdkPlatform',
903-
environment: ['env1', 'env2']
905+
environment: ['env1', 'env2'],
906+
proximity_id: "testProximityId",
907+
proximity_precision_radius: 10
904908
);
905909

906910
$this->assertCount(1, $events->getEvents());

0 commit comments

Comments
 (0)