Skip to content

Commit 6fc2bc4

Browse files
Chris8934Chris53897
authored andcommitted
tests: fix deprecation from PHPUnit
1 parent ce6ee28 commit 6fc2bc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider/GeoIP2/Tests/GeoIP2AdapterTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function testReaderResponseIsJsonEncoded(): void
118118
$this->assertJson($result);
119119

120120
$decodedResult = json_decode($result);
121-
$this->assertObjectHasAttribute('city', $decodedResult);
121+
$this->assertObjectHasProperty('city', $decodedResult);
122122
}
123123

124124
/**

0 commit comments

Comments
 (0)