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

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


The following commit(s) were added to refs/heads/master by this push:
     new b3576b3bcf [FIX] shouldAddSSLInformationInReceivedHeaders() test
b3576b3bcf is described below

commit b3576b3bcf1e2ce66cf0f205bb5fe0c601d8f9c9
Author: Maksim Meliashchuk <[email protected]>
AuthorDate: Sun Jul 7 18:14:05 2024 +0300

    [FIX] shouldAddSSLInformationInReceivedHeaders() test
---
 .../src/test/java/org/apache/james/smtpserver/SMTPSTest.java            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/server/protocols/protocols-smtp/src/test/java/org/apache/james/smtpserver/SMTPSTest.java
 
b/server/protocols/protocols-smtp/src/test/java/org/apache/james/smtpserver/SMTPSTest.java
index f112011228..a1c4e8cf6b 100644
--- 
a/server/protocols/protocols-smtp/src/test/java/org/apache/james/smtpserver/SMTPSTest.java
+++ 
b/server/protocols/protocols-smtp/src/test/java/org/apache/james/smtpserver/SMTPSTest.java
@@ -104,6 +104,6 @@ class SMTPSTest {
         Mail lastMail = testSystem.queue.getLastMail();
         
ImmutableList.copyOf(lastMail.getMessage().getHeader("Received")).forEach(System.out::println);
         assertThat(lastMail.getMessage().getHeader("Received"))
-            .hasOnlyOneElementSatisfying(s -> s.contains("(using TLSv1.3 with 
cipher TLS_AES_256_GCM_SHA384)"));
+            .hasOnlyOneElementSatisfying(s -> assertThat(s).contains("(using 
TLSv1.3 with cipher TLS_AES_256_GCM_SHA384)"));
     }
 }


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

Reply via email to