X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/09595697cce1000137c7758b7bef211f80635d04..228ef1972a915d1f960e021f4496147645e22370:/test/php/Nominatim/AddressDetailsTest.php?ds=sidebyside diff --git a/test/php/Nominatim/AddressDetailsTest.php b/test/php/Nominatim/AddressDetailsTest.php index 62faf1a4..e7b3a3f8 100644 --- a/test/php/Nominatim/AddressDetailsTest.php +++ b/test/php/Nominatim/AddressDetailsTest.php @@ -2,18 +2,14 @@ namespace Nominatim; +require_once(CONST_BasePath.'/lib/init-website.php'); require_once(CONST_BasePath.'/lib/AddressDetails.php'); -function chksql($oSql, $sMsg = 'Database request failed') -{ - return $oSql; -} - class AddressDetailsTest extends \PHPUnit\Framework\TestCase { - protected function setUp() + protected function setUp(): void { // How the fixture got created //