mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 23:56:56 +00:00
feat: improve login flow
This commit is contained in:
@ -654,7 +654,7 @@ var testCardsCleartext = []Card{
|
||||
}
|
||||
|
||||
func TestClient_Encrypt(t *testing.T) {
|
||||
c := newTestClient()
|
||||
c := newTestClient(NewClientManager(testClientConfig))
|
||||
c.kr = testPrivateKeyRing
|
||||
|
||||
cardEncrypted, err := c.EncryptAndSignCards(testCardsCleartext)
|
||||
@ -668,7 +668,7 @@ func TestClient_Encrypt(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestClient_Decrypt(t *testing.T) {
|
||||
c := newTestClient()
|
||||
c := newTestClient(NewClientManager(testClientConfig))
|
||||
c.kr = testPrivateKeyRing
|
||||
|
||||
cardCleartext, err := c.DecryptAndVerifyCards(testCardsEncrypted)
|
||||
|
||||
Reference in New Issue
Block a user