From a739e6282495432e48e53f1c44f0bd53910c495b Mon Sep 17 00:00:00 2001 From: Justin Hawkins Date: Sun, 10 Oct 2021 13:54:26 +1030 Subject: [PATCH] Fix test --- web/server_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/server_test.go b/web/server_test.go index 2ae0bcd..dd72d00 100644 --- a/web/server_test.go +++ b/web/server_test.go @@ -63,8 +63,8 @@ func TestNotFound(t *testing.T) { func TestGetConfig(t *testing.T) { conf := config.DefaultConfigService() - conf.Config = *config.DefaultConfig() - s := WebService{Config: *conf} + conf.Config = config.DefaultConfig() + s := WebService{Config: conf} req := httptest.NewRequest(http.MethodGet, "/rest/config", nil) w := httptest.NewRecorder()