mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-20 09:06:45 +00:00
GODT-1177: remove Import-Export from repo
This commit is contained in:
26
test/features/imap/user_agent.feature
Normal file
26
test/features/imap/user_agent.feature
Normal file
@ -0,0 +1,26 @@
|
||||
Feature: User agent
|
||||
Background:
|
||||
Given there is connected user "user"
|
||||
|
||||
Scenario: Get user agent
|
||||
Given there is IMAP client logged in as "user"
|
||||
Then API user-agent is "UnknownClient/0.0.1 ([GOOS])"
|
||||
When IMAP client sends ID with argument:
|
||||
"""
|
||||
"name" "Foo" "version" "1.4.0"
|
||||
"""
|
||||
Then API user-agent is "Foo/1.4.0 ([GOOS])"
|
||||
|
||||
Scenario: Update user agent
|
||||
Given there is IMAP client logged in as "user"
|
||||
Then API user-agent is "UnknownClient/0.0.1 ([GOOS])"
|
||||
When IMAP client sends ID with argument:
|
||||
"""
|
||||
"name" "Foo" "version" "1.4.0"
|
||||
"""
|
||||
Then API user-agent is "Foo/1.4.0 ([GOOS])"
|
||||
When IMAP client sends ID with argument:
|
||||
"""
|
||||
"name" "Bar" "version" "4.2.0"
|
||||
"""
|
||||
Then API user-agent is "Bar/4.2.0 ([GOOS])"
|
||||
Reference in New Issue
Block a user