tests: Address deprecation warnings and errors

This commit is contained in:
Joe Mooring 2024-09-28 13:15:53 -07:00 committed by Bjørn Erik Pedersen
parent d0dca65625
commit d1ba52f3c3
18 changed files with 71 additions and 82 deletions

View file

@ -29,8 +29,9 @@ func TestThatPageIsAvailableEverywhere(t *testing.T) {
baseURL = 'http://example.com/'
disableKinds = ["taxonomy", "term"]
enableInlineShortcodes = true
paginate = 1
enableRobotsTXT = true
[pagination]
pagerSize = 1
LANG_CONFIG
-- content/_index.md --
---
@ -191,7 +192,7 @@ title: "P1"
# Heading 1
-- layouts/shortcodes/toc.html --
{{ page.TableOfContents }}
{{ page.TableOfContents }}
-- layouts/_default/single.html --
{{ .Content }}
`