Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7813c5c

Browse files
committed
tpl/tplimpl: Comment out the Vimeo simple shortcode tests
See #14649
1 parent eb11c3d commit 7813c5c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tpl/tplimpl/shortcodes_integration_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,14 +474,15 @@ Content: {{ .Content }}
474474
b.AssertFileContent("public/p3/index.html", "2b5f9cc3167d1336")
475475

476476
// Simple mode
477-
files = strings.ReplaceAll(files, "privacy.vimeo.simple = false", "privacy.vimeo.simple = true")
477+
// Commented out for now, see issue #14649
478+
/*files = strings.ReplaceAll(files, "privacy.vimeo.simple = false", "privacy.vimeo.simple = true")
478479
b = hugolib.Test(t, files)
479480
b.AssertFileContent("public/p1/index.html", "04d861fc957ee638")
480481
481482
// Simple mode with non-existent id
482483
files = strings.ReplaceAll(files, "{{< vimeo 55073825 >}}", "{{< vimeo __id_does_not_exist__ >}}")
483484
b = hugolib.Test(t, files, hugolib.TestOptWarn())
484-
b.AssertLogContains(`WARN The "vimeo" shortcode was unable to retrieve the remote data.`)
485+
b.AssertLogContains(`WARN The "vimeo" shortcode was unable to retrieve the remote data.`)*/
485486
}
486487

487488
func TestXShortcodes(t *testing.T) {

0 commit comments

Comments
 (0)