diff options
Diffstat (limited to 'hugolib/site_url_test.go')
-rw-r--r-- | hugolib/site_url_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hugolib/site_url_test.go b/hugolib/site_url_test.go index 9db045492..99d04460d 100644 --- a/hugolib/site_url_test.go +++ b/hugolib/site_url_test.go @@ -62,7 +62,7 @@ func TestShouldNotAddTrailingSlashToBaseURL(t *testing.T) { {"http://base.com", "http://base.com"}} { viper.Set("baseURL", this.in) - s := newSiteDefaultLang() + s := NewSiteDefaultLang() s.initializeSiteInfo() if s.Info.BaseURL != template.URL(this.expected) { @@ -79,6 +79,7 @@ func TestPageCount(t *testing.T) { viper.Set("uglyURLs", false) viper.Set("paginate", 10) s := &Site{ + deps: newDeps(DepsCfg{}), Source: &source.InMemorySource{ByteSource: urlFakeSource}, Language: helpers.NewDefaultLanguage(), } |