]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/php/Nominatim/SearchContextTest.php
replace database abstraction DB with PDO
[nominatim.git] / test / php / Nominatim / SearchContextTest.php
index db0b2dee1de20c4338f6cbd9d3ba1f6c42ec254a..166e6433d141d259007cbc5b7e17686149d49faf 100644 (file)
@@ -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;