diff --git a/Tests/Web5TestVectors/web5-spec b/Tests/Web5TestVectors/web5-spec index f76f3b6..270966f 160000 --- a/Tests/Web5TestVectors/web5-spec +++ b/Tests/Web5TestVectors/web5-spec @@ -1 +1 @@ -Subproject commit f76f3b6505447a5f5b31b378682c8dc9ac2a549d +Subproject commit 270966f0ffab6c8834ab83aeb61855d212b12723 diff --git a/Tests/Web5Tests/Credentials/PresentationExchangeTests.swift b/Tests/Web5Tests/Credentials/PresentationExchangeTests.swift index abfb97c..bfa3b01 100644 --- a/Tests/Web5Tests/Credentials/PresentationExchangeTests.swift +++ b/Tests/Web5Tests/Credentials/PresentationExchangeTests.swift @@ -171,7 +171,7 @@ class PresentationExchangeTests: XCTestCase { XCTAssertNotNil(submission.id) XCTAssertEqual(submission.definitionID, pd.id) XCTAssertEqual(submission.descriptorMap.count, 2) - XCTAssertEqual(submission.descriptorMap[0].path, "$.verifiableCredential[0]") + XCTAssertTrue(submission.descriptorMap[0].path.starts(with: "$.verifiableCredential")) } func test_throwsOnCreatePresentationFromInvalidCredentials() throws {