mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/10838] Fix missing data
PHPBB3-10838
This commit is contained in:
parent
5ed4dbb5b7
commit
9c9f09d640
1 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ 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. As of PHP 5.4 a builtin webserver is available. If you are
|
||||||
on PHP 5.3 you will also need to supply the URL to a webserver of your own 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', 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
|
||||||
changes to the test framework, you cannot use a board outside of the repository
|
changes to the test framework, you cannot use a board outside of the repository
|
||||||
on which to run tests.
|
on which to run tests.
|
||||||
|
@ -145,7 +145,7 @@ configure the port the builtin webserver runs on using
|
||||||
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:
|
||||||
|
|
||||||
phpunit -c phpunit.xml.functional
|
$ phpBB/vendor/bin/phpunit -c phpunit.xml.functional
|
||||||
|
|
||||||
This will change your board's config.php file, but it makes a backup at
|
This will change your board's config.php file, but it makes a backup at
|
||||||
config_dev.php, so you can restore it after the test run is complete.
|
config_dev.php, so you can restore it after the test run is complete.
|
||||||
|
|
Loading…
Add table
Reference in a new issue