X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/09595697cce1000137c7758b7bef211f80635d04..d4b633bfc50188f36e3c4a8b2b99c3a0e6a7f12e:/test/php/Nominatim/AddressDetailsTest.php diff --git a/test/php/Nominatim/AddressDetailsTest.php b/test/php/Nominatim/AddressDetailsTest.php index 62faf1a4..b29d9088 100644 --- a/test/php/Nominatim/AddressDetailsTest.php +++ b/test/php/Nominatim/AddressDetailsTest.php @@ -2,14 +2,10 @@ 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 {