Skip to content

Commit 7ef7f59

Browse files
committed
Don't enable SMTP validation for example.com
1 parent 82dd272 commit 7ef7f59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin_setting_smtp_integration_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ func TestAdminSettings_SMTP_Update(t *testing.T) {
4949
})
5050
t.Run("with no Auth option", func(t *testing.T) {
5151
smtpSettings, err := client.Admin.Settings.SMTP.Update(ctx, AdminSMTPSettingsUpdateOptions{
52-
Enabled: Bool(enabled),
52+
Enabled: Bool(disabled),
5353
TestEmailAddress: String("[email protected]"),
5454
Host: String("123"),
5555
Port: Int(123),
5656
})
5757

5858
require.NoError(t, err)
5959
assert.Equal(t, SMTPAuthNone, smtpSettings.Auth)
60-
assert.Equal(t, enabled, smtpSettings.Enabled)
60+
assert.Equal(t, disabled, smtpSettings.Enabled)
6161
})
6262
t.Run("with invalid Auth option", func(t *testing.T) {
6363
var SMTPAuthPlained SMTPAuthType = "plained"

0 commit comments

Comments
 (0)