From 471ae5455d5b100ef52f0a312452d6ab06462458 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Tue, 31 Oct 2023 15:18:16 -0700 Subject: [PATCH] Update for removed Traits properties --- composer.json | 2 +- tests/MaxMind/Test/MinFraud/Model/InsightsTest.php | 1 - tests/data/minfraud/factors-response.json | 1 - tests/data/minfraud/insights-response.json | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/composer.json b/composer.json index f1a6ab6..e858030 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "require": { "php": ">=8.1", "ext-json": "*", - "geoip2/geoip2": "^v3.0.0-alpha2", + "geoip2/geoip2": "^v3.0.0-alpha3", "maxmind/web-service-common": "^0.9.0", "respect/validation": "~2.1" }, diff --git a/tests/MaxMind/Test/MinFraud/Model/InsightsTest.php b/tests/MaxMind/Test/MinFraud/Model/InsightsTest.php index a0152c3..c4a2f0e 100644 --- a/tests/MaxMind/Test/MinFraud/Model/InsightsTest.php +++ b/tests/MaxMind/Test/MinFraud/Model/InsightsTest.php @@ -107,7 +107,6 @@ public function testInsightsProperties(): void 'isAnonymousVpn', 'isHostingProvider', 'isPublicProxy', - 'isSatelliteProvider', 'isTorExitNode', ] as $property) { $this->assertTrue($insights->ipAddress->traits->{$property}); diff --git a/tests/data/minfraud/factors-response.json b/tests/data/minfraud/factors-response.json index d99a9a2..85c2aa7 100644 --- a/tests/data/minfraud/factors-response.json +++ b/tests/data/minfraud/factors-response.json @@ -104,7 +104,6 @@ "is_anonymous_vpn": true, "is_hosting_provider": true, "is_public_proxy": true, - "is_satellite_provider": true, "is_tor_exit_node": true, "isp": "Andrews & Arnold Ltd", "mobile_country_code": "310", diff --git a/tests/data/minfraud/insights-response.json b/tests/data/minfraud/insights-response.json index b02525b..962424b 100644 --- a/tests/data/minfraud/insights-response.json +++ b/tests/data/minfraud/insights-response.json @@ -104,7 +104,6 @@ "is_anonymous_vpn": true, "is_hosting_provider": true, "is_public_proxy": true, - "is_satellite_provider": true, "is_tor_exit_node": true, "isp": "Andrews & Arnold Ltd", "mobile_country_code": "310",