From d429327ce5083303541f9a78841cfd2397b878d4 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Tue, 21 Feb 2023 13:54:42 +0100 Subject: [PATCH] Fix unit test --- internal/config/config_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/config/config_test.go b/internal/config/config_test.go index a1c520a..8f089db 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -19,7 +19,7 @@ func TestInit(t *testing.T) { func TestInitMinimal(t *testing.T) { fp := "../../docs/config.json" Init(fp) - if Keys.Addr != "0.0.0.0:8080" { - t.Errorf("wrong addr\ngot: %s \nwant: 0.0.0.0:8080", Keys.Addr) + if Keys.Addr != "127.0.0.1:8080" { + t.Errorf("wrong addr\ngot: %s \nwant: 127.0.0.1:8080", Keys.Addr) } }