1
mirror of https://github.com/jlelse/GoBlog synced 2024-07-27 03:45:55 +00:00
This commit is contained in:
Jan-Lukas Else 2023-01-15 15:03:48 +01:00
parent 57cc3dd94d
commit 2e1a4b9c2f

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