diff --git a/composer.json b/composer.json index 75acbe149..0dc0ae944 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "phpstan/extension-installer": "^1.3", "phpstan/phpstan": "^1.10", "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.6", + "phpunit/phpunit": "^9.6.21", "symfony/http-client": "^5.4.45 || ^6.4 || ^7.0", "symfony/stopwatch": "^5.4 || ^6.4 || ^7.0" }, diff --git a/src/Provider/GeoIP2/Tests/GeoIP2AdapterTest.php b/src/Provider/GeoIP2/Tests/GeoIP2AdapterTest.php index 1a3be5cac..9fbec4f6f 100644 --- a/src/Provider/GeoIP2/Tests/GeoIP2AdapterTest.php +++ b/src/Provider/GeoIP2/Tests/GeoIP2AdapterTest.php @@ -118,7 +118,7 @@ public function testReaderResponseIsJsonEncoded(): void $this->assertJson($result); $decodedResult = json_decode($result); - $this->assertObjectHasAttribute('city', $decodedResult); + $this->assertObjectHasProperty('city', $decodedResult); } /**