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

@ -6,8 +6,11 @@ Feature: The IMAP ID is propagated to bridge
And the user logs in with username "[user:user]" and password "password"
Then it succeeds
Scenario: Initial user agent before an IMAP client announces its ID
When user "[user:user]" connects IMAP client "1"
Scenario: Initial user agent before an IMAP client connects
Then the user agent is "NoClient/0.0.1 ([GOOS])"
Scenario: User agent before an IMAP client announces its ID
When user "[user:user]" connects and authenticates IMAP client "1"
Then the user agent is "UnknownClient/0.0.1 ([GOOS])"
Scenario: User agent after an IMAP client announces its ID