@@ -47,7 +47,7 @@ describe("Validated node references tests", function () {
4747 const xml = fs . readFileSync ( "./test/static/valid_saml.xml" , "utf-8" ) ;
4848 const doc = new xmldom . DOMParser ( ) . parseFromString ( xml ) ;
4949 const sig = new SignedXml ( ) ;
50- sig . getCertFromKeyInfo = SignedXml . getCertFromKeyInfo
50+ sig . getCertFromKeyInfo = SignedXml . getCertFromKeyInfo ;
5151 sig . loadSignature ( sig . findSignatures ( doc ) [ 0 ] ) ;
5252 const validSignature = sig . checkSignature ( xml ) ;
5353 expect ( validSignature ) . to . be . true ;
@@ -74,7 +74,7 @@ describe("Validated node references tests", function () {
7474 const xml = fs . readFileSync ( "./test/static/valid_saml.xml" , "utf-8" ) ;
7575 const doc = new xmldom . DOMParser ( ) . parseFromString ( xml ) ;
7676 const sig = new SignedXml ( ) ;
77- sig . getCertFromKeyInfo = SignedXml . getCertFromKeyInfo
77+ sig . getCertFromKeyInfo = SignedXml . getCertFromKeyInfo ;
7878 sig . loadSignature ( sig . findSignatures ( doc ) [ 0 ] ) ;
7979 const validSignature = sig . checkSignature ( xml ) ;
8080 expect ( validSignature ) . to . be . true ;
@@ -88,7 +88,7 @@ describe("Validated node references tests", function () {
8888 const xml = fs . readFileSync ( "./test/static/valid_saml.xml" , "utf-8" ) ;
8989 const doc = new xmldom . DOMParser ( ) . parseFromString ( xml ) ;
9090 const sig = new SignedXml ( ) ;
91- sig . getCertFromKeyInfo = SignedXml . getCertFromKeyInfo
91+ sig . getCertFromKeyInfo = SignedXml . getCertFromKeyInfo ;
9292 sig . loadSignature ( sig . findSignatures ( doc ) [ 0 ] ) ;
9393 const validSignature = sig . checkSignature ( xml ) ;
9494 expect ( validSignature ) . to . be . true ;
0 commit comments