feat(GODT-2673): Use NoClient as UserAgent without any client connected and...

This commit is contained in:
Romain Le Jeune
2023-06-01 15:15:37 +00:00
parent c4dc829e6d
commit 802f7dbc67
9 changed files with 122 additions and 10 deletions

View File

@ -17,6 +17,12 @@ Feature: A user can authenticate an SMTP client
When user "[user:user]" connects SMTP client "1"
Then SMTP client "1" can authenticate
Scenario: User agent with only SMTP client connected
Then the user agent is "NoClient/0.0.1 ([GOOS])"
When user "[user:user]" connects SMTP client "1"
Then SMTP client "1" can authenticate
Then the user agent is "UnknownClient/0.0.1 ([GOOS])"
Scenario: SMTP client cannot authenticate with wrong username
When user "[user:user]" connects SMTP client "1"
Then SMTP client "1" cannot authenticate with incorrect username