From 83ee0434cf0561065689a374ca9b4c55a8ee45f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Lewandowski?= Date: Tue, 9 Jul 2024 12:42:47 +0200 Subject: [PATCH] tests(SPV-846): fix tests --- totp_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/totp_test.go b/totp_test.go index 5dd4fb4..5ad1060 100644 --- a/totp_test.go +++ b/totp_test.go @@ -50,7 +50,7 @@ func TestGenerateTotpForContact(t *testing.T) { _, err := sut.GenerateTotpForContact(&contact, 30, 2) // then - require.ErrorContains(t, err, "contact's PubKey is invalid:") + require.ErrorIs(t, err, ErrContactPubKeyInvalid) }) }