diff --git a/Changelog.md b/Changelog.md index 9f0308d..13c28d6 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,10 @@ ## v1.10.11 2026-11-25 +Mutation testing is now up to 99% + +## v1.10.11 2026-11-25 + Mutation testing is now up to 98% ## v1.10.10 2026-11-25 diff --git a/infection.json5 b/infection.json5 index fa213ba..5b96187 100644 --- a/infection.json5 +++ b/infection.json5 @@ -17,8 +17,8 @@ } }, "tmpDir": "build/cache/infection", - "minMsi": 97, - "minCoveredMsi": 97, + "minMsi": 99, + "minCoveredMsi": 99, "mutators": { "@default": true, }, diff --git a/tests/Rfc9421/SigningComponentsTest.php b/tests/Rfc9421/SigningComponentsTest.php index 85b05d2..a17b3a4 100644 --- a/tests/Rfc9421/SigningComponentsTest.php +++ b/tests/Rfc9421/SigningComponentsTest.php @@ -326,4 +326,23 @@ public function testFindComponentByNameNotFound(): void ), ); } + + /** + * @throws \Filefabrik\Rfc9421\Exceptions\UnexpectedValue + * @throws \Filefabrik\Rfc9421\Exceptions\AlreadySetException + * @throws \Filefabrik\Rfc9421\Exceptions\SignatureExtractionException + * @throws \Filefabrik\Rfc9421\Exceptions\EnumTypeException + */ + public function testSetSigningComponent(): void + { + $i = new SigningComponents(); + $i->set( + new ComponentBuilder('@authority') + ->toComponentItemDto(), + ); + self::assertEquals( + '"@authority"', + $i->getComponents()[0]->getComponent(), + ); + } }