mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-30 03:30:17 +02:00
[ticket/16223] Ensure memcached tests are only run when available
PHPBB3-16223
This commit is contained in:
@@ -109,6 +109,21 @@ Or via environment variables as follows:
|
||||
|
||||
$ PHPBB_TEST_REDIS_HOST=localhost PHPBB_TEST_REDIS_PORT=6379 phpunit
|
||||
|
||||
Memcached
|
||||
---------
|
||||
|
||||
In order to run tests for the memcached cache driver, at least one of memcached
|
||||
host or port must be specified in the test configuration. This can be done via
|
||||
test_config.php as follows:
|
||||
|
||||
<?php
|
||||
$phpbb_memcached_host = 'localhost';
|
||||
$phpbb_memcached_port = '11211';
|
||||
|
||||
Or via environment variables as follows:
|
||||
|
||||
$ PHPBB_TEST_MEMCACHED_HOST=localhost PHPBB_TEST_MEMCACHED_PORT=11211 phpunit
|
||||
|
||||
Running
|
||||
=======
|
||||
|
||||
|
Reference in New Issue
Block a user