Skip to content
Extraits de code Groupes Projets
Valider 6521e989 rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Try to fix nginx setup on travis. Includes new [tests] INI config parameter...

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).
parent cfd82504
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -44,6 +44,7 @@ schema = Mysql
http_host = localhost
remote_addr = "127.0.0.1"
request_uri = "@REQUEST_URI@"
port = 80
; access key and secret as listed in AWS -> IAM -> Users
aws_accesskey = ""
......
......@@ -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)
......
......@@ -14,6 +14,7 @@ tables_prefix =
[tests]
request_uri = "/"
port = 3000
[database_tests]
host = 127.0.0.1
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter