HoussemNasri commented on code in PR #2517:
URL: https://github.com/apache/james-project/pull/2517#discussion_r1852890375


##########
server/protocols/webadmin-integration-test/memory-webadmin-integration-test/src/test/java/org/apache/james/webadmin/integration/memory/MemoryWebAdminServerIntegrationTest.java:
##########
@@ -39,4 +51,32 @@ class MemoryWebAdminServerIntegrationTest extends 
WebAdminServerIntegrationTest
             .build())
         .server(MemoryJamesServerMain::createServer)
         .build();
+
+    @RegisterExtension
+    TestIMAPClient testIMAPClient = new TestIMAPClient();
+
+    @Test
+    void shouldDescribeConnectedImapChannels(GuiceJamesServer server) throws 
Exception {
+        int imapPort = server.getProbe(ImapGuiceProbe.class).getImapPort();
+
+        server.getProbe(DataProbeImpl.class).addUser(USERNAME, PASSWORD);
+
+        testIMAPClient.connect(LOCALHOST_IP, imapPort);
+        testIMAPClient.sendCommand("ID (\"name\" \"Thunderbird\" \"version\" 
\"102.7.1\")");

Review Comment:
   ```suggestion
           testIMAPClient.sendCommand(""" ID ("name"  "Thunderbird"  "version"  
"102.7.1") """);
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to