diff options
Diffstat (limited to 'contrib/httpimg')
-rw-r--r-- | contrib/httpimg/httpimg_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/httpimg/httpimg_test.go b/contrib/httpimg/httpimg_test.go index bf13492..6390f09 100644 --- a/contrib/httpimg/httpimg_test.go +++ b/contrib/httpimg/httpimg_test.go @@ -1,11 +1,18 @@ package httpimg_test import ( + "time" + "github.com/jung-kurt/gofpdf" "github.com/jung-kurt/gofpdf/contrib/httpimg" "github.com/jung-kurt/gofpdf/internal/example" ) +func init() { + gofpdf.SetDefaultCatalogSort(true) + gofpdf.SetDefaultCreationDate(time.Date(2000, 1, 1, 0, 0, 0, 0, time.UTC)) +} + func ExampleRegister() { pdf := gofpdf.New("L", "mm", "A4", "") pdf.SetFont("Helvetica", "", 12) |