mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/10838] Remove php 5.4 and builtin server references
PHPBB3-10838
This commit is contained in:
parent
9c9f09d640
commit
89393e11e8
1 changed files with 1 additions and 7 deletions
|
@ -127,8 +127,7 @@ Running
|
||||||
=======
|
=======
|
||||||
|
|
||||||
Running the tests requires your phpBB3 repository to be accessible through a
|
Running the tests requires your phpBB3 repository to be accessible through a
|
||||||
local web server. As of PHP 5.4 a builtin webserver is available. If you are
|
local web server. You will need to supply the URL to the webserver in
|
||||||
on PHP 5.3 you will also need to supply the URL to a webserver of your own in
|
|
||||||
the 'tests/test_config.php' file. This is as simple as defining the
|
the 'tests/test_config.php' file. This is as simple as defining the
|
||||||
'$phpbb_functional_url' variable, which contains the URL for the directory containing
|
'$phpbb_functional_url' variable, which contains the URL for the directory containing
|
||||||
the board. Make sure you include the trailing slash. Note that without extensive
|
the board. Make sure you include the trailing slash. Note that without extensive
|
||||||
|
@ -137,11 +136,6 @@ on which to run tests.
|
||||||
|
|
||||||
$phpbb_functional_url = 'http://localhost/phpBB3/';
|
$phpbb_functional_url = 'http://localhost/phpBB3/';
|
||||||
|
|
||||||
On PHP 5.4 you do not need the $phpbb_functional_url parameter but you can
|
|
||||||
configure the port the builtin webserver runs on using
|
|
||||||
|
|
||||||
$phpbb_functional_port = 8000;
|
|
||||||
|
|
||||||
To then run the tests, you run PHPUnit, but use the phpunit.xml.functional
|
To then run the tests, you run PHPUnit, but use the phpunit.xml.functional
|
||||||
config file instead of the default one. Specify this through the "-c" option:
|
config file instead of the default one. Specify this through the "-c" option:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue