aboutsummaryrefslogtreecommitdiffhomepage
path: root/related
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-01-28 22:11:05 +0100
committerBjørn Erik Pedersen <[email protected]>2024-01-28 22:17:22 +0100
commit982d9513e71b3d48e20cfa38454a0e1215a8d963 (patch)
tree47ece9af143bfbd52fa0e5174f9349b8c04c3211 /related
parent6dedb4efc7b6a9fbe58a2daf0f77182638840fd9 (diff)
downloadhugo-982d9513e71b3d48e20cfa38454a0e1215a8d963.tar.gz
hugo-982d9513e71b3d48e20cfa38454a0e1215a8d963.zip
testing: Simplify some integration tests
Diffstat (limited to 'related')
-rw-r--r--related/related_integration_test.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/related/related_integration_test.go b/related/related_integration_test.go
index 2c71c1d1a..291bfdbf7 100644
--- a/related/related_integration_test.go
+++ b/related/related_integration_test.go
@@ -114,11 +114,7 @@ Content: {{ .Content }}
`
- b := hugolib.NewIntegrationTestBuilder(
- hugolib.IntegrationTestConfig{
- T: t,
- TxtarString: files,
- }).Build()
+ b := hugolib.Test(t, files)
expect := `
P1 Fragments: [p1-title]