mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-28 03:20:11 +00:00
Fix SMTP transport test fixtures for secure envelopes
This commit is contained in:
parent
3a36ed06b8
commit
916636d481
1 changed files with 4 additions and 0 deletions
|
|
@ -600,6 +600,8 @@ func TestSendTLS_Success(t *testing.T) {
|
|||
SMTPHost: "invalid.host.test",
|
||||
SMTPPort: port,
|
||||
TLS: true,
|
||||
From: "test@example.com",
|
||||
To: []string{"recipient@example.com"},
|
||||
},
|
||||
SkipTLSVerify: true,
|
||||
}
|
||||
|
|
@ -658,6 +660,8 @@ func TestSendStartTLS_Success(t *testing.T) {
|
|||
SMTPHost: host,
|
||||
SMTPPort: port,
|
||||
StartTLS: true,
|
||||
From: "test@example.com",
|
||||
To: []string{"recipient@example.com"},
|
||||
},
|
||||
SkipTLSVerify: true,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue