X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/388c7f706d43be1e025ac9250b5a068dff3c0a01..d3f7465ccad9cce6c84f0b089282c5ece550c5ed:/test/php/Nominatim/AddressDetailsTest.php?ds=sidebyside diff --git a/test/php/Nominatim/AddressDetailsTest.php b/test/php/Nominatim/AddressDetailsTest.php index b29d9088..4678911c 100644 --- a/test/php/Nominatim/AddressDetailsTest.php +++ b/test/php/Nominatim/AddressDetailsTest.php @@ -9,7 +9,7 @@ require_once(CONST_BasePath.'/lib/AddressDetails.php'); class AddressDetailsTest extends \PHPUnit\Framework\TestCase { - protected function setUp() + protected function setUp(): void { // How the fixture got created // @@ -70,7 +70,7 @@ class AddressDetailsTest extends \PHPUnit\Framework\TestCase { $oAD = new AddressDetails($this->oDbStub, 194663412, 10, 'en'); $expected = array( - 'attraction' => '10 Downing Street', + 'tourism' => '10 Downing Street', 'house_number' => '10', 'road' => 'Downing Street', 'neighbourhood' => 'St. James\'s',