mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
tpl/tplimpl: Fix vimeo shortcode test to accommodate API changes
Fixes #13687
This commit is contained in:
@@ -495,7 +495,7 @@ Content: {{ .Content }}
|
||||
// Simple mode
|
||||
files = strings.ReplaceAll(files, "privacy.vimeo.simple = false", "privacy.vimeo.simple = true")
|
||||
b = hugolib.Test(t, files)
|
||||
b.AssertFileContent("public/p1/index.html", "c5bf16d87e2a370b")
|
||||
b.AssertFileContent("public/p1/index.html", "04d861fc957ee638")
|
||||
|
||||
// Simple mode with non-existent id
|
||||
files = strings.ReplaceAll(files, "{{< vimeo 55073825 >}}", "{{< vimeo __id_does_not_exist__ >}}")
|
||||
|
Reference in New Issue
Block a user