Skip to content

Commit

Permalink
tests: fix deprecation from PHPUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris8934 committed Mar 2, 2024
1 parent 9c2224f commit 40e7654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Provider/GeoIP2/Tests/GeoIP2AdapterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function testReaderResponseIsJsonEncoded(): void
$this->assertJson($result);

$decodedResult = json_decode($result);
$this->assertObjectHasAttribute('city', $decodedResult);
$this->assertObjectHasProperty('city', $decodedResult);
}

/**
Expand Down

0 comments on commit 40e7654

Please sign in to comment.