WIP - use another API for signing

This commit is contained in:
tigp
2018-06-29 18:12:49 +02:00
parent af18f0bd57
commit 6b914d1698
8 changed files with 68 additions and 43 deletions

View File

@@ -4,8 +4,9 @@ import (
"os"
"testing"
"bitbucket.org/digitorus/pdf"
"time"
"bitbucket.org/digitorus/pdf"
)
func TestCreateInfoEmpty(t *testing.T) {
@@ -37,8 +38,8 @@ func TestCreateInfoEmpty(t *testing.T) {
ContactInfo: "Geen",
Date: time.Now().Local(),
},
CertType: 2,
Approval: false,
CertType: CertificationSignature,
DocMDPPerm: AllowFillingExistingFormFieldsAndSignatures,
},
}
@@ -101,8 +102,8 @@ func TestCreateInfo(t *testing.T) {
ContactInfo: "Geen",
Date: time.Now().Local(),
},
CertType: 2,
Approval: false,
CertType: CertificationSignature,
DocMDPPerm: AllowFillingExistingFormFieldsAndSignatures,
},
}