X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e2a7a795d4bc4ed97e9354bb35a63eec4c7b1583..5fd8f5aa2770a8193a36de20462c710bb00a0222:/test/php/Nominatim/AddressDetailsTest.php?ds=inline 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 {