mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-20 00:56:47 +00:00
chore(GODT-2551): Store and Recover Last User Agent from Vault
This commit is contained in:
@ -216,3 +216,11 @@ func TestVault_Settings_MaxSyncMemory(t *testing.T) {
|
||||
// Check the default first start value.
|
||||
require.Equal(t, vault.DefaultMaxSyncMemory, s.GetMaxSyncMemory())
|
||||
}
|
||||
|
||||
func TestVault_Settings_LastUserAgent(t *testing.T) {
|
||||
// create a new test vault.
|
||||
s := newVault(t)
|
||||
|
||||
// Check the default first start value.
|
||||
require.Equal(t, vault.DefaultUserAgent, s.GetLastUserAgent())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user