diff --git a/prism-backend/node/src/test/scala/io/iohk/atala/prism/node/operations/CreateDIDOperationSpec.scala b/prism-backend/node/src/test/scala/io/iohk/atala/prism/node/operations/CreateDIDOperationSpec.scala index b9172b5ad..192a8bc46 100644 --- a/prism-backend/node/src/test/scala/io/iohk/atala/prism/node/operations/CreateDIDOperationSpec.scala +++ b/prism-backend/node/src/test/scala/io/iohk/atala/prism/node/operations/CreateDIDOperationSpec.scala @@ -225,7 +225,6 @@ class CreateDIDOperationSpec extends AtalaWithPostgresSpec { .value val services = parsed.services - services.foreach(println(_)) services.size mustBe 2 services.head.id mustBe serviceId1 @@ -547,10 +546,7 @@ class CreateDIDOperationSpec extends AtalaWithPostgresSpec { node_models.Service( id = serviceId1, `type` = "didCom-credential-exchange", - serviceEndpoint = """ - ["https://foo.example.com", - "not a valid URI"] - """, + serviceEndpoint = """["https://foo.example.com","not a valid URI"]""", addedOn = None, deletedOn = None ) diff --git a/prism-backend/node/src/test/scala/io/iohk/atala/prism/node/operations/UpdateDIDOperationSpec.scala b/prism-backend/node/src/test/scala/io/iohk/atala/prism/node/operations/UpdateDIDOperationSpec.scala index f42217bc7..4780199ff 100644 --- a/prism-backend/node/src/test/scala/io/iohk/atala/prism/node/operations/UpdateDIDOperationSpec.scala +++ b/prism-backend/node/src/test/scala/io/iohk/atala/prism/node/operations/UpdateDIDOperationSpec.scala @@ -255,7 +255,7 @@ class UpdateDIDOperationSpec extends AtalaWithPostgresSpec with ProtoParsingTest ) } - "return error when service endpoints in AddServiceAction of the service is empty" in { + "return error when service endpoints in AddServiceAction of the service is an empty array" in { invalidValueTest( _.updateDid .actions(2)