From 810117f63e84c8352ca1935428de34c8f0fda63d Mon Sep 17 00:00:00 2001 From: bayusamudra5502 <bayusamudra.55.02.com@gmail.com> Date: Fri, 28 Apr 2023 15:00:30 +0700 Subject: [PATCH] fix: disabled mail --- test/mail/mail_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/mail/mail_test.go b/test/mail/mail_test.go index e441966..59da881 100644 --- a/test/mail/mail_test.go +++ b/test/mail/mail_test.go @@ -8,13 +8,13 @@ import ( "gitlab.informatika.org/ocw/ocw-backend/utils/env" ) -func TestSendMail(t *testing.T) { +func DisabledTestSendMail(t *testing.T) { smtpClient := smtp.New(&env.Environment{ - SmtpUsername: "postmaster@bayusamudra.my.id", - SmtpPassword: "4868b913c0a48289beb3eccd13a35de4-70c38fed-8afa51c1", + SmtpUsername: "", + SmtpPassword: "", SmtpIdentity: "", - SmtpServer: "smtp.mailgun.org", - SmtpPort: 587, + SmtpServer: "", + SmtpPort: 21, SmtpAuthType: "plain", }) -- GitLab