We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a044ff3 commit 070109dCopy full SHA for 070109d
1 file changed
tests/JSignPDFTest.php
@@ -67,6 +67,19 @@ public function testSignSuccess()
67
$this->assertNotNull($fileSigned);
68
}
69
70
+ public function testSignUsingPasswordWithQuote()
71
+ {
72
+ if (!class_exists('JSignPDF\JSignPDFBin\JavaCommandService')) {
73
+ $this->markTestSkipped('Install jsignpdf/jsignpdf-bin');
74
+ }
75
+ $params = JSignParamBuilder::instance()->withDefault();
76
+ $password = "with ' quote";
77
+ $params->setCertificate($this->getNewCert($password));
78
+ $params->setPassword($password);
79
+ $fileSigned = $this->service->sign($params);
80
+ $this->assertNotNull($fileSigned);
81
82
+
83
public function testCertificateExpired()
84
{
85
if (!class_exists('JSignPDF\JSignPDFBin\JavaCommandService')) {
0 commit comments