This commit is contained in:
Jan-Lukas Else 2023-01-15 15:03:48 +01:00
parent 57cc3dd94d
commit 2e1a4b9c2f
1 changed files with 3 additions and 1 deletions

View File

@ -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) {