X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c7a4c2c88a2a1ef68955d595b6e22b9d4430d194..c5fe2ac2067c7154370c3abd6ccca45b0d657547:/test/php/Nominatim/SearchContextTest.php?ds=sidebyside diff --git a/test/php/Nominatim/SearchContextTest.php b/test/php/Nominatim/SearchContextTest.php index db0b2dee..166e6433 100644 --- a/test/php/Nominatim/SearchContextTest.php +++ b/test/php/Nominatim/SearchContextTest.php @@ -2,11 +2,9 @@ namespace Nominatim; -@define('CONST_BasePath', '../../'); +require_once(CONST_BasePath.'/lib/SearchContext.php'); -require_once '../../lib/SearchContext.php'; - -class SearchContextTest extends \PHPUnit_Framework_TestCase +class SearchContextTest extends \PHPUnit\Framework\TestCase { private $oCtx;