feat(mail): add MailSender port and explicit provider selection

This commit is contained in:
shira committed 2026-10-06 00:38:58 +03:00
1 parent e7d0d92ef9
commit 6153887eb5
26 files changed
+1253 -29

No files matched your search

@@ -86,6 +86,10 @@ func bootstrap(t *testing.T, services ...service) *testEnvironment {
"SEAWEEDFS_SECRET_KEY": seaweedfsSecretKey,
"SEAWEEDFS_BUCKET": seaweedfsBucket,
"SEAWEEDFS_TIMEOUT": storageTimeout.String(),
// Integration tests send no mail; disabled is the explicit choice.
"EMAIL_PROVIDER": "disabled",
"EMAIL_FROM": "no-reply@example.com",
"APP_PUBLIC_URL": "http://localhost:8080",
}
settings, err := config.LoadFromEnv(func(key string) (string, bool) {
value, ok := fixtures[key]