mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 15:46:44 +00:00
test: empty auth update channel in tests
This commit is contained in:
committed by
Michal Horejsek
parent
8f15041d8f
commit
7d30459417
@ -654,7 +654,7 @@ var testCardsCleartext = []Card{
|
||||
}
|
||||
|
||||
func TestClient_Encrypt(t *testing.T) {
|
||||
c := newTestClient(NewClientManager(testClientConfig))
|
||||
c := newTestClient(newTestClientManager(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(NewClientManager(testClientConfig))
|
||||
c := newTestClient(newTestClientManager(testClientConfig))
|
||||
c.kr = testPrivateKeyRing
|
||||
|
||||
cardCleartext, err := c.DecryptAndVerifyCards(testCardsEncrypted)
|
||||
|
||||
Reference in New Issue
Block a user