X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/28ba5fc8a4272b8d8c195b9a1dc794b3e405c13d..3db2b05069d68f8703a696273f4fdfc9fe6a445e:/test/php/Nominatim/SearchContextTest.php?ds=inline 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;