diff --git a/pkg/pdfcpu/createTestPDF.go b/pkg/pdfcpu/createTestPDF.go index bf6e1269..52dc6f22 100644 --- a/pkg/pdfcpu/createTestPDF.go +++ b/pkg/pdfcpu/createTestPDF.go @@ -1921,6 +1921,7 @@ func CreateContext(xRefTable *model.XRefTable, conf *model.Configuration) *model if conf == nil { conf = model.NewDefaultConfiguration() } + xRefTable.Conf = conf xRefTable.ValidationMode = conf.ValidationMode return &model.Context{ Configuration: conf,