Skip to content

Commit

Permalink
fix: outdated test
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
  • Loading branch information
yshyn-iohk committed Jan 15, 2025
1 parent 8125db8 commit 16c17ce
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@ object CredentialSchemaReferenceParsingLogicSpec extends ZIOSpecDefault with Cre
)
)
},
test("should fail for multiple deprecated schema IDs") {
for {
result <- parseCredentialSchemaRef_VCDM1_1(Some(List("id1", "id2")), None).either
} yield assert(result)(
isLeft(isErrorResponseWithDetailFieldEqualTo("Multiple credential schemas are not allowed."))
)
},
test("should fail if no schema is provided") {
for {
result <- parseCredentialSchemaRef_VCDM1_1(None, None).either
Expand All @@ -76,13 +69,6 @@ object CredentialSchemaReferenceParsingLogicSpec extends ZIOSpecDefault with Cre
expectedUriString <- UriString.make(credentialSchemaExample).toZIO
} yield assert(result)(isRight(equalTo(expectedUriString)))
},
test("should fail for multiple deprecated schema IDs") {
for {
result <- parseSchemaIdForAnonCredsModelV1(Some(List("id1", "id2")), None).either
} yield assert(result)(
isLeft(isErrorResponseWithDetailFieldEqualTo("Multiple credential schemas are not allowed."))
)
},
test("should fail if no schema ID is provided") {
for {
result <- parseSchemaIdForAnonCredsModelV1(None, None).either
Expand Down

0 comments on commit 16c17ce

Please sign in to comment.