mirror of https://github.com/jlelse/GoBlog
Fix test
This commit is contained in:
parent
57cc3dd94d
commit
2e1a4b9c2f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue