JAMES-1894 Remove redundant call to format in GetMessageList integration tests


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/02e8f0c2
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/02e8f0c2
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/02e8f0c2

Branch: refs/heads/master
Commit: 02e8f0c20ab86cd0117beb8e18a57cb651fbac80
Parents: 98d8409
Author: Benoit Tellier <[email protected]>
Authored: Fri Dec 23 11:36:37 2016 +0700
Committer: Benoit Tellier <[email protected]>
Committed: Mon Jan 9 21:58:32 2017 +0700

----------------------------------------------------------------------
 .../james/jmap/methods/integration/GetMessageListMethodTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/02e8f0c2/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/GetMessageListMethodTest.java
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/GetMessageListMethodTest.java
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/GetMessageListMethodTest.java
index b3ac263..6e86389 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/GetMessageListMethodTest.java
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/GetMessageListMethodTest.java
@@ -354,7 +354,7 @@ public abstract class GetMessageListMethodTest {
 
         given()
             .header("Authorization", accessToken.serialize())
-            .body(String.format("[[\"getMessageList\", 
{\"filter\":{\"notInMailboxes\":[]}}, \"#0\"]]"))
+            .body("[[\"getMessageList\", {\"filter\":{\"notInMailboxes\":[]}}, 
\"#0\"]]")
         .when()
             .post("/jmap")
         .then()


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to