]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/php/Nominatim/SearchContextTest.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / test / php / Nominatim / SearchContextTest.php
index 0a2131b92dd930ed1a3f05bfc5262b46ee713394..166e6433d141d259007cbc5b7e17686149d49faf 100644 (file)
@@ -2,9 +2,7 @@
 
 namespace Nominatim;
 
 
 namespace Nominatim;
 
-@define('CONST_BasePath', '../../');
-
-require_once '../../lib/SearchContext.php';
+require_once(CONST_BasePath.'/lib/SearchContext.php');
 
 class SearchContextTest extends \PHPUnit\Framework\TestCase
 {
 
 class SearchContextTest extends \PHPUnit\Framework\TestCase
 {