TT#109000 Remove hardcoded values from tests parameters

These variables are defined in testrunner so we should not redefine them
in code, only in case if they aren't defined for some reason.

Change default to 127.0.0.1 as it's the only value which has some
meaning.

Remove commented lines.

Change-Id: Icca03215ff854bb2dffe3d3e308445ef5debb9e8
mr9.4
Mykola Malkov 6 years ago
parent 99bce79731
commit 12f79e7d99

@ -13,12 +13,10 @@ our @EXPORT_OK = qw(
);
## no critic (Variables::RequireLocalizedPunctuationVars)
$ENV{RATEOMAT_BILLING_DB_HOST} = '192.168.0.181';
$ENV{RATEOMAT_PROVISIONING_DB_HOST} = '192.168.0.181';
$ENV{RATEOMAT_ACCOUNTING_DB_HOST} = '192.168.0.181';
#$ENV{RATEOMAT_DUPLICATE_DB_HOST} = '192.168.0.29';
$ENV{CATALYST_SERVER} = 'https://127.0.0.1:1443';
$ENV{RATEOMAT_BILLING_DB_HOST} //= '127.0.0.1';
$ENV{RATEOMAT_PROVISIONING_DB_HOST} //= '127.0.0.1';
$ENV{RATEOMAT_ACCOUNTING_DB_HOST} //= '127.0.0.1';
$ENV{CATALYST_SERVER} //= 'https://127.0.0.1:1443';
sub set_local_timezone {
(my $tz,$ENV{RATEOMAT_CONNECTION_TIMEZONE}) = @_;

Loading…
Cancel
Save