diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2013-06-27 18:38:44 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2013-07-02 00:50:14 +0530 |
commit | 9c9f09d640d12400a15a6001b7e8fad597f3f65b (patch) | |
tree | cd9d04d63a14831d9e7b77dcf911af70038c457b /tests/RUNNING_TESTS.md | |
parent | 5ed4dbb5b7aa4a0a00560eb7f3226d81ce54eca5 (diff) | |
download | forums-9c9f09d640d12400a15a6001b7e8fad597f3f65b.tar forums-9c9f09d640d12400a15a6001b7e8fad597f3f65b.tar.gz forums-9c9f09d640d12400a15a6001b7e8fad597f3f65b.tar.bz2 forums-9c9f09d640d12400a15a6001b7e8fad597f3f65b.tar.xz forums-9c9f09d640d12400a15a6001b7e8fad597f3f65b.zip |
[ticket/10838] Fix missing data
PHPBB3-10838
Diffstat (limited to 'tests/RUNNING_TESTS.md')
-rw-r--r-- | tests/RUNNING_TESTS.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/RUNNING_TESTS.md b/tests/RUNNING_TESTS.md index 49c59fd928..d43e503e03 100644 --- a/tests/RUNNING_TESTS.md +++ b/tests/RUNNING_TESTS.md @@ -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 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 -'$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 changes to the test framework, you cannot use a board outside of the repository 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 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 config_dev.php, so you can restore it after the test run is complete. |