You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by GitBox <gi...@apache.org> on 2023/01/18 03:44:45 UTC

[GitHub] [james-project] vttranlina commented on a diff in pull request #1394: JAMES-3756 Delegate/set - destroy

vttranlina commented on code in PR #1394:
URL: https://github.com/apache/james-project/pull/1394#discussion_r1073068197


##########
server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/DelegateSetContract.scala:
##########
@@ -574,4 +580,266 @@ trait DelegateSetContract {
            |	}
            |}""".stripMargin)
   }
+
+  @Test
+  def destroyShouldSucceed(server: GuiceJamesServer) : Unit = {
+    server.getProbe(classOf[DelegationProbe])
+      .addAuthorizedUser(BOB, ANDRE)
+
+    val delegationId = DelegationId.from(BOB, ANDRE).serialize
+
+    val request: String =
+      s"""{
+         |	  "using": ["urn:ietf:params:jmap:core", "urn:apache:james:params:jmap:delegation"],
+         |    "methodCalls": [
+         |      [

Review Comment:
   no, it still is pretty
   <img width="967" alt="image" src="https://user-images.githubusercontent.com/81145350/213078437-85183073-729f-4f86-899c-d04860ff728e.png">
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org