]> git.openstreetmap.org Git - nominatim.git/commitdiff
assume PHP test suite is run from the tests-php directory. Matches documentation...
authormarc tobias <mtm@marcs-MacBook-Pro.local>
Thu, 9 Jul 2015 01:43:59 +0000 (03:43 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 4 Aug 2015 20:46:07 +0000 (22:46 +0200)
tests-php/Nominatim/NominatimTest.php
tests-php/README.txt

index 68519e4804c81f06de4c41099bdb1161d2358d93..7ab6893424020262cca9ce4086ba9d7ac6b61ef4 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 namespace Nominatim;
-require 'lib/lib.php';
+require '../lib/lib.php';
 
 
 class NominatimTest extends \PHPUnit_Framework_TestCase
index 31fd21ed847af1d338fa247c556fbedc504b8052..8aee5d8ef3df5f3842d59cd2a6c19be70c60dc3d 100644 (file)
@@ -6,6 +6,7 @@ https://phpunit.de/manual/4.2/en/
 installed.
 
 To execute the test suite run
+$ cd tests-php
 $ phpunit
 
 It will read phpunit.xml which points to the library, test path, bootstrap