diff options
author | diosmosis <benaka@piwik.pro> | 2015-09-22 09:38:37 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-10-27 07:46:24 +0300 |
commit | 6521e98926a17fa797cd97b197b7094ada4a8b52 (patch) | |
tree | d4a6f4dbc65697a597738686acc019b60d1309db /tests/PHPUnit/bootstrap.php | |
parent | cfd8250473800cee07d68501c82c73314826022a (diff) |
Try to fix nginx setup on travis. Includes new [tests] INI config parameter for port (since using port 80 is not allowed for normal users on linux).
Diffstat (limited to 'tests/PHPUnit/bootstrap.php')
-rw-r--r-- | tests/PHPUnit/bootstrap.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/PHPUnit/bootstrap.php b/tests/PHPUnit/bootstrap.php index 5eed01f806..313f8f4b6a 100644 --- a/tests/PHPUnit/bootstrap.php +++ b/tests/PHPUnit/bootstrap.php @@ -82,6 +82,7 @@ function prepareServerVariables(Config $config) $_SERVER['HTTP_HOST'] = $testConfig['http_host']; $_SERVER['REQUEST_URI'] = $testConfig['request_uri']; $_SERVER['REMOTE_ADDR'] = $testConfig['remote_addr']; + $_SERVER['SERVER_PORT'] = $testConfig['port']; } function prepareTestDatabaseConfig(Config $config) |