Files
librenms-librenms/tests/bootstrap.php
Gianluca Arbezzano e125b296f9 phpunit configuration improvement
This feature implement env parameters for phpUnit configuration.
This upgrade is a first step for multi influxdb version testing
2015-03-23 22:28:18 +01:00

19 lines
502 B
PHP

<?php
return [
"tcp" => [
"host" => getenv('HOST'),
"port" => getenv('TCP_PORT'),
"protocol" => getenv('TCP_PROTOCOL'),
"database" => getenv('TCP_DB'),
"username" => getenv('USERNAME'),
"password" => getenv('PASSWORD'),
],
"udp" => [
"host" => getenv('HOST'),
"port" => getenv('UDP_PORT'),
"database" => getenv('UDP_DB'),
"username" => getenv('USERNAME'),
"password" => getenv('PASSWORD'),
],
];