Remove Close() on Sender; words on password dialog

This commit is contained in:
binwiederhier
2026-06-13 13:42:32 -04:00
parent eff808d0f8
commit 9fa8550ef6
7 changed files with 4 additions and 16 deletions
-2
View File
@@ -32,8 +32,6 @@ func (c *captureMailer) SendPasswordReset(to, link string) error {
return nil
}
func (c *captureMailer) Close() {}
// newEmailTestServer creates a server with email sending "enabled" (SMTP + base-url configured)
// and a capturing mailer injected, plus a tier-less user "ben" logged in via basic auth.
func newEmailTestServer(t *testing.T, databaseURL string) (*Server, *captureMailer, map[string]string) {