X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/28d7e11e4fb377fc91e3271d424310f3ca7c7b85..0daf2d5cbf2e7ec558b5bc4dfe511e0f8f2d76b2:/test/php/Nominatim/SearchContextTest.php?ds=inline diff --git a/test/php/Nominatim/SearchContextTest.php b/test/php/Nominatim/SearchContextTest.php index 0a2131b9..166e6433 100644 --- a/test/php/Nominatim/SearchContextTest.php +++ b/test/php/Nominatim/SearchContextTest.php @@ -2,9 +2,7 @@ namespace Nominatim; -@define('CONST_BasePath', '../../'); - -require_once '../../lib/SearchContext.php'; +require_once(CONST_BasePath.'/lib/SearchContext.php'); class SearchContextTest extends \PHPUnit\Framework\TestCase {