diff options
Diffstat (limited to 'hugolib/page_permalink_test.go')
-rw-r--r-- | hugolib/page_permalink_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hugolib/page_permalink_test.go b/hugolib/page_permalink_test.go index 341639529..007f9eefc 100644 --- a/hugolib/page_permalink_test.go +++ b/hugolib/page_permalink_test.go @@ -66,7 +66,8 @@ func TestPermalink(t *testing.T) { info := newSiteInfo(siteBuilderCfg{baseURL: string(test.base), language: helpers.NewDefaultLanguage()}) p := &Page{ - Kind: KindPage, + pageInit: &pageInit{}, + Kind: KindPage, URLPath: URLPath{ Section: "z", URL: test.url, |