From 537179af034a3d79dcb533c03821b3444c74f086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Z=C3=BCrcher?= Date: Wed, 24 Dec 2025 12:09:34 +0100 Subject: [PATCH] fix test model --- html2pdf_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/html2pdf_test.go b/html2pdf_test.go index 7290244..fd9aa02 100644 --- a/html2pdf_test.go +++ b/html2pdf_test.go @@ -7,6 +7,7 @@ import ( "testing" "gitea.tecamino.com/paadi/html2pdf/converter" + "gitea.tecamino.com/paadi/html2pdf/models" ) func TestConvert(t *testing.T) { @@ -27,14 +28,14 @@ func TestConvertFiles(t *testing.T) { t.Fatal(err) } - var input []converter.File + var input []models.File for _, f := range files { ext := filepath.Ext(f.Name()) if ext != ".html" { continue } - input = append(input, converter.File{ + input = append(input, models.File{ Input: filepath.Join(rootPath, f.Name()), Output: strings.Replace(f.Name(), ext, ".pdf", 1), })