Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.

Commit 1ea4f2f

Browse files
committed
Fix testServerTLS test
1 parent c6f0520 commit 1ea4f2f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

simplekotlinmail-test/src/test/kotlin/net/axay/simplekotlinmail/test/ServerClientTest.kt

+1-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ class ServerClientTest {
5454
File("./src/test/resources/truststore"), "passphrase"
5555
),
5656
true,
57-
starttlsOnly = false,
5857
requireClientAuth = false
5958
)
6059

@@ -70,7 +69,7 @@ class ServerClientTest {
7069
email.sendSync(mailerBuilder(port = 2500) {
7170
verifyingServerIdentity(false)
7271
trustingAllHosts(true)
73-
withTransportStrategy(TransportStrategy.SMTPS)
72+
withTransportStrategy(TransportStrategy.SMTP_TLS)
7473
})
7574

7675
MailerManager.shutdownMailers()

0 commit comments

Comments
 (0)