Skip to content

Commit 608c9c0

Browse files
committed
update deprecated has attribute to has property
1 parent b89b41e commit 608c9c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider/GeoIP2/Tests/GeoIP2AdapterTest.php

Lines changed: 1 addition & 1 deletion
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)