mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
assume PHP test suite is run from the tests-php directory. Matches documentation in VAGRANT.md
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Nominatim;
|
namespace Nominatim;
|
||||||
require 'lib/lib.php';
|
require '../lib/lib.php';
|
||||||
|
|
||||||
|
|
||||||
class NominatimTest extends \PHPUnit_Framework_TestCase
|
class NominatimTest extends \PHPUnit_Framework_TestCase
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ https://phpunit.de/manual/4.2/en/
|
|||||||
installed.
|
installed.
|
||||||
|
|
||||||
To execute the test suite run
|
To execute the test suite run
|
||||||
|
$ cd tests-php
|
||||||
$ phpunit
|
$ phpunit
|
||||||
|
|
||||||
It will read phpunit.xml which points to the library, test path, bootstrap
|
It will read phpunit.xml which points to the library, test path, bootstrap
|
||||||
|
|||||||
Reference in New Issue
Block a user