Finally fix tests

Took way too long.
This commit is contained in:
fox.cpp 2025-02-02 13:14:11 +03:00
parent ef7fa210dc
commit 01c65cfb0e
No known key found for this signature in database
GPG key ID: 5B991F6215D2FCC0
2 changed files with 1 additions and 4 deletions

View file

@ -72,9 +72,6 @@ type Endpoint struct {
sessionCnt atomic.Int32
authNormalize authz.NormalizeFunc
authMap module.Table
listenersWg sync.WaitGroup
Log log.Logger

View file

@ -107,7 +107,7 @@ func TestMultipleDomains_SeparateNamespace(tt *testing.T) {
user3SMTP := t.Conn("submission")
defer user3SMTP.Close()
user3SMTP.SMTPNegotation("localhost", []string{"AUTH PLAIN"}, nil)
user3SMTP.SMTPPlainAuth("user3@test2.maddy.email", "user3", true)
user3SMTP.SMTPPlainAuth("user1@test2.maddy.email", "user3", true)
user1.Writeln(`. LIST "" "*"`)
user1.Expect(`* LIST (\HasNoChildren) "." INBOX`)