From 2e1a4b9c2fd8f59ed91d1ef177a52aefe128fd9f Mon Sep 17 00:00:00 2001 From: Jan-Lukas Else Date: Sun, 15 Jan 2023 15:03:48 +0100 Subject: [PATCH] Fix test --- config_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config_test.go b/config_test.go index 6810fef..cfca580 100644 --- a/config_test.go +++ b/config_test.go @@ -142,7 +142,9 @@ func Test_configHttps(t *testing.T) { func Test_configDefaults(t *testing.T) { t.Run("Pagination", func(t *testing.T) { - app := &goBlog{} + app := &goBlog{ + cfg: createDefaultTestConfig(t), + } err := app.initConfig(false) require.NoError(t, err) if assert.Len(t, app.cfg.Blogs, 1) {