You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2021/11/24 01:43:42 UTC

[james-project] 06/08: JAMES-3534 Identity/set contract test should ignore array order

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 2b9a9531fce85fbbb8b9f5e3ae87e2436fe6fcd2
Author: Quan Tran <hq...@linagora.com>
AuthorDate: Mon Nov 22 14:53:01 2021 +0700

    JAMES-3534 Identity/set contract test should ignore array order
---
 .../org/apache/james/jmap/rfc8621/contract/IdentitySetContract.scala     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/IdentitySetContract.scala b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/IdentitySetContract.scala
index eed6ea6..5922085 100644
--- a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/IdentitySetContract.scala
+++ b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/IdentitySetContract.scala
@@ -98,6 +98,7 @@ trait IdentitySetContract {
       .asString
 
     assertThatJson(response)
+      .when(net.javacrumbs.jsonunit.core.Option.IGNORING_ARRAY_ORDER)
       .isEqualTo(
         s"""{
            |	"sessionState": "2c9f1b12-b35a-43e6-9af2-0106fb53a943",

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