@@ -349,7 +349,6 @@ final public function testGetWebIdWithDpopWithoutKeyId(): void
349349 $ this ->dpop ['payload ' ]['jti ' ] = 'mock jti ' ;
350350 $ this ->dpop ['payload ' ]['sub ' ] = self ::MOCK_SUBJECT ;
351351
352-
353352 $ dpopToken = $ this ->sign ($ this ->dpop );
354353
355354 $ mockJtiValidator = $ this ->createMockJtiValidator ();
@@ -374,16 +373,15 @@ final public function testGetWebIdWithDpopWithoutKeyId(): void
374373
375374 /**
376375 * @testdox Dpop SHOULD complain WHEN asked to get WebId from Request with valid DPOP without Confirmation Claim
377- * why? which spec?
378376 * @covers ::getWebId
379377 *
380378 * @uses \Pdsinterop\Solid\Auth\Utils\DPop::getDpopKey
381379 * @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateDpop
382380 * @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateJwtDpop
383381 */
384- /*
385382 final public function testGetWebIdWithDpopWithoutConfirmationClaim (): void
386383 {
384+ $ this ->markTestSkipped ('Skipped untill we find a spec that requires this ' );
387385 $ this ->dpop ['header ' ]['jwk ' ][JwkParameter::KEY_ID ] = self ::MOCK_THUMBPRINT ;
388386 $ this ->dpop ['payload ' ]['jti ' ] = 'mock jti ' ;
389387 $ this ->dpop ['payload ' ]['sub ' ] = self ::MOCK_SUBJECT ;
@@ -409,19 +407,18 @@ final public function testGetWebIdWithDpopWithoutConfirmationClaim(): void
409407
410408 $ dpop ->getWebId ($ request );
411409 }
412- */
410+
413411 /**
414412 * @testdox Dpop SHOULD complain WHEN asked to get WebId from Request with valid DPOP without JWT Key Thumbprint
415- * why? which spec?
416413 * @covers ::getWebId
417414 *
418415 * @uses \Pdsinterop\Solid\Auth\Utils\DPop::getDpopKey
419416 * @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateDpop
420417 * @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateJwtDpop
421418 */
422- /*
423419 final public function testGetWebIdWithDpopWithoutThumbprint (): void
424420 {
421+ $ this ->markTestSkipped ('Skipped untill we find a spec that requires this ' );
425422 $ this ->dpop ['header ' ]['jwk ' ][JwkParameter::KEY_ID ] = self ::MOCK_THUMBPRINT ;
426423 $ this ->dpop ['payload ' ]['cnf ' ] = [];
427424 $ this ->dpop ['payload ' ]['jti ' ] = 'mock jti ' ;
@@ -446,19 +443,18 @@ final public function testGetWebIdWithDpopWithoutThumbprint(): void
446443
447444 $ dpop ->getWebId ($ request );
448445 }
449- */
446+
450447 /**
451448 * @testdox Dpop SHOULD complain WHEN asked to get WebId from Request with valid DPOP with Thumbprint not matching Key Id
452- * why? which spec?
453449 * @covers ::getWebId
454450 *
455451 * @uses \Pdsinterop\Solid\Auth\Utils\DPop::getDpopKey
456452 * @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateDpop
457453 * @uses \Pdsinterop\Solid\Auth\Utils\DPop::validateJwtDpop
458454 */
459- /*
460455 final public function testGetWebIdWithDpopWithMismatchingThumbprintAndKeyId (): void
461456 {
457+ $ this ->markTestSkipped ('Skipped untill we find a spec that requires this ' );
462458 $ this ->dpop ['header ' ]['jwk ' ][JwkParameter::KEY_ID ] = self ::MOCK_THUMBPRINT . 'Mismatch ' ;
463459 $ this ->dpop ['payload ' ]['cnf ' ] = ['jkt ' => self ::MOCK_THUMBPRINT ];
464460 $ this ->dpop ['payload ' ]['jti ' ] = 'mock jti ' ;
@@ -483,7 +479,6 @@ final public function testGetWebIdWithDpopWithMismatchingThumbprintAndKeyId(): v
483479
484480 $ dpop ->getWebId ($ request );
485481 }
486- */
487482
488483 /**
489484 * @testdox Dpop SHOULD complain WHEN asked to get WebId from Request with valid DPOP without "sub"
0 commit comments