aboutsummaryrefslogtreecommitdiff
path: root/environment_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-04-19 23:57:51 +0700
committerShulhan <ms@kilabit.info>2022-04-19 23:57:51 +0700
commit7d7b0b0fc9eb078001a010dcdab3aa97938806c3 (patch)
tree8f2b97a227abae8a503fb887598b666ab53e90b3 /environment_test.go
parentb5a14cefdf1a16d0ec23e7231f776f3f07352fd6 (diff)
downloadrescached-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.go2
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",