From 7b629babcff0e1b46b352bf514a3a7996211cc77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Dry=C5=9B?= Date: Wed, 17 Jan 2024 11:29:03 +0100 Subject: [PATCH] code review --- internal/pass/sign/lib_test.go | 2 +- tests/pass/kms_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/pass/sign/lib_test.go b/internal/pass/sign/lib_test.go index 0d19912..223f620 100644 --- a/internal/pass/sign/lib_test.go +++ b/internal/pass/sign/lib_test.go @@ -142,7 +142,7 @@ func TestSignAndVerify(t *testing.T) { token, err := serviceWithAnotherKey.SignAndEncode(Message{ ConnectionID: uuid.New().String(), ExpiresAt: now.Add(-time.Hour), - ConnectionType: ConnectionTypeBrowserExtensionWait, + ConnectionType: ConnectionTypeBrowserExtensionProxy, }) if err != nil { t.Fatal(err) diff --git a/tests/pass/kms_test.go b/tests/pass/kms_test.go index cd3c101..f11ee27 100644 --- a/tests/pass/kms_test.go +++ b/tests/pass/kms_test.go @@ -125,7 +125,7 @@ func TestSignAndVerify(t *testing.T) { token, err := serviceWithAnotherKey.SignAndEncode(sign.Message{ ConnectionID: uuid.New().String(), ExpiresAt: now.Add(-time.Hour), - ConnectionType: sign.ConnectionTypeBrowserExtensionWait, + ConnectionType: sign.ConnectionTypeBrowserExtensionProxy, }) if err != nil { t.Fatal(err)