@@ -165,7 +165,7 @@ export function sd2023Algorithms({
165165 this . test . link = 'https://w3c.github.io/vc-di-ecdsa/#selective-disclosure-functions:~:text=produced%20as%20output.-,If%20the%20proofValue%20string%20does%20not%20start%20with%20u%2C%20indicating%20that%20it%20is%20a%20multibase%2Dbase64url%2Dno%2Dpad%2Dencoded%20value%2C%20an%20error%20MUST%20be%20raised%20and%20SHOULD%20convey%20an%20error%20type%20of%20PROOF_VERIFICATION_ERROR.,-Initialize%20decodedProofValue%20to' ;
166166 await assertions . verificationFail ( {
167167 verifier,
168- credential : credentials . get ( 'invalidProofValuePrefix' ) ,
168+ credential : fixtures . get ( 'invalidProofValuePrefix' ) ,
169169 reason : 'Should not verify VC with invalid proofValue prefix'
170170 } ) ;
171171 } ) ;
@@ -176,7 +176,7 @@ export function sd2023Algorithms({
176176 this . test . link = 'https://w3c.github.io/vc-di-ecdsa/#selective-disclosure-functions:~:text=If%20the%20decodedProofValue%20does%20not%20start%20with%20the%20ECDSA%2DSD%20base%20proof%20header%20bytes%200xd9%2C%200x5d%2C%20and%200x00%2C%20an%20error%20MUST%20be%20raised%20and%20SHOULD%20convey%20an%20error%20type%20of%20PROOF_VERIFICATION_ERROR.' ;
177177 await assertions . verificationFail ( {
178178 verifier,
179- credential : credentials . get ( 'invalidBaseProofHeader' ) ,
179+ credential : fixtures . get ( 'invalidBaseProofHeader' ) ,
180180 reason : 'Should not verify VC with invalid base proof header'
181181 } ) ;
182182 } ) ;
@@ -194,7 +194,7 @@ export function sd2023Algorithms({
194194 this . test . link = 'https://w3c.github.io/vc-di-ecdsa/#selective-disclosure-functions:~:text=If%20the%20decodedProofValue%20does%20not%20start%20with%20the%20ECDSA%2DSD%20disclosure%20proof%20header%20bytes%200xd9%2C%200x5d%2C%20and%200x01%2C%20an%20error%20MUST%20be%20raised%20and%20SHOULD%20convey%20an%20error%20type%20of%20PROOF_VERIFICATION_ERROR.' ;
195195 await assertions . verificationFail ( {
196196 verifier,
197- credential : credentials . get ( 'invalidDisclosureProofHeader' ) ,
197+ credential : fixtures . get ( 'invalidDisclosureProofHeader' ) ,
198198 reason : 'Should not verify VC with invalid disclosure proof ' +
199199 'header'
200200 } ) ;
@@ -222,7 +222,7 @@ export function sd2023Algorithms({
222222 'options, such as a JSON-LD document loader.' , async function ( ) {
223223 this . test . link = 'https://w3c.github.io/vc-di-ecdsa/#selective-disclosure-functions:~:text=The%20transformation%20options%20MUST%20contain%20an%20array%20of%20mandatory%20JSON%20pointers%20(mandatoryPointers)%20and%20MAY%20contain%20additional%20options%2C%20such%20as%20a%20JSON%2DLD%20document%20loader.' ;
224224 await assertions . verificationFail ( {
225- credential : credentials . get ( 'noMandatoryPointers' ) ,
225+ credential : fixtures . get ( 'noMandatoryPointers' ) ,
226226 verifier,
227227 reason : 'Should not verify VC with no mandatoryPointers'
228228 } ) ;
@@ -246,7 +246,7 @@ export function sd2023Algorithms({
246246 this . test . link = 'https://w3c.github.io/vc-di-ecdsa/#base-proof-configuration-ecdsa-sd-2023' ;
247247 await assertions . verificationFail ( {
248248 verifier,
249- credential : credentials . get ( 'noTypeCryptosuite' ) ,
249+ credential : fixtures . get ( 'noTypeCryptosuite' ) ,
250250 reason : 'Should not verify VC with no type or cryptosuite'
251251 } ) ;
252252 } ) ;
@@ -257,7 +257,7 @@ export function sd2023Algorithms({
257257 this . test . link = 'https://w3c.github.io/vc-di-ecdsa/#base-proof-configuration-ecdsa-sd-2023:~:text=If%20proofConfig.type%20is%20not%20set%20to%20DataIntegrityProof%20and/or%20proofConfig.cryptosuite%20is%20not%20set%20to%20ecdsa%2Dsd%2D2023%2C%20an%20error%20MUST%20be%20raised%20and%20SHOULD%20convey%20an%20error%20type%20of%20PROOF_GENERATION_ERROR.' ;
258258 await assertions . verificationFail ( {
259259 verifier,
260- credential : credentials . get ( 'noTypeCryptosuite' ) ,
260+ credential : fixtures . get ( 'noTypeCryptosuite' ) ,
261261 reason : 'Should not verify VC with no type or cryptosuite'
262262 } ) ;
263263 } ) ;
@@ -266,7 +266,7 @@ export function sd2023Algorithms({
266266 'convey an error type of PROOF_GENERATION_ERROR.' , async function ( ) {
267267 this . test . link = 'https://w3c.github.io/vc-di-ecdsa/#base-proof-configuration-ecdsa-sd-2023' ;
268268 await assertions . verificationFail ( {
269- credential : credentials . get ( 'invalidCreated' ) ,
269+ credential : fixtures . get ( 'invalidCreated' ) ,
270270 verifier,
271271 reason : 'Should not verify VC with invalid created'
272272 } ) ;
@@ -277,7 +277,7 @@ export function sd2023Algorithms({
277277 this . test . link = 'https://w3c.github.io/vc-di-ecdsa/#base-proof-serialization-ecdsa-sd-2023' ;
278278 await assertions . verificationFail ( {
279279 verifier,
280- credential : credentials . get ( 'noTypeCryptosuite' ) ,
280+ credential : fixtures . get ( 'noTypeCryptosuite' ) ,
281281 reason : 'Should not verify VC with no type or cryptosuite'
282282 } ) ;
283283 } ) ;
0 commit comments