aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/shortcode_test.go
diff options
context:
space:
mode:
authorJoe Mooring <[email protected]>2024-09-28 13:15:53 -0700
committerBjørn Erik Pedersen <[email protected]>2024-09-29 10:49:26 +0200
commitd1ba52f3c3bdc31c2067f986fdb57088d875c01e (patch)
tree83bdf861007b0fe4654863a121fb8472d0dc4de3 /hugolib/shortcode_test.go
parentd0dca656250d0a04f3a5051ec067022df4b37738 (diff)
downloadhugo-d1ba52f3c3bdc31c2067f986fdb57088d875c01e.tar.gz
hugo-d1ba52f3c3bdc31c2067f986fdb57088d875c01e.zip
tests: Address deprecation warnings and errors
Diffstat (limited to 'hugolib/shortcode_test.go')
-rw-r--r--hugolib/shortcode_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go
index 21436d980..92812bf66 100644
--- a/hugolib/shortcode_test.go
+++ b/hugolib/shortcode_test.go
@@ -126,10 +126,11 @@ func TestShortcodeMultipleOutputFormats(t *testing.T) {
siteConfig := `
baseURL = "http://example.com/blog"
-paginate = 1
-
disableKinds = ["section", "term", "taxonomy", "RSS", "sitemap", "robotsTXT", "404"]
+[pagination]
+pagerSize = 1
+
[outputs]
home = [ "HTML", "AMP", "Calendar" ]
page = [ "HTML", "AMP", "JSON" ]