diff options
| author | Shulhan <ms@kilabit.info> | 2022-04-19 23:57:51 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-04-19 23:57:51 +0700 |
| commit | 7d7b0b0fc9eb078001a010dcdab3aa97938806c3 (patch) | |
| tree | 8f2b97a227abae8a503fb887598b666ab53e90b3 /environment_test.go | |
| parent | b5a14cefdf1a16d0ec23e7231f776f3f07352fd6 (diff) | |
| download | rescached-7d7b0b0fc9eb078001a010dcdab3aa97938806c3.tar.xz | |
all: always call Environment init
This is to make sure that all required fields that are empty in the
configuration initialized to its default values.
Diffstat (limited to 'environment_test.go')
| -rw-r--r-- | environment_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/environment_test.go b/environment_test.go index e7dddb0..43f932e 100644 --- a/environment_test.go +++ b/environment_test.go @@ -88,7 +88,7 @@ func TestLoadEnvironment(t *testing.T) { }, }, HttpdOptions: &libhttp.ServerOptions{ - Address: defWuiAddress, + Address: "127.0.0.1:5381", }, ServerOptions: dns.ServerOptions{ ListenAddress: "127.0.0.1:5350", |
