mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 14:56:42 +00:00
feat(GODT-2673): Use NoClient as UserAgent without any client connected and...
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user