From 8c504d157b77ec5024c871e07736c931462e015f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Fri, 31 May 2024 11:00:21 +0900 Subject: [PATCH] fix evm tests --- core/services/relay/evm/write_target_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/services/relay/evm/write_target_test.go b/core/services/relay/evm/write_target_test.go index ee52e755672..551a68beb0f 100644 --- a/core/services/relay/evm/write_target_test.go +++ b/core/services/relay/evm/write_target_test.go @@ -83,7 +83,7 @@ func TestEvmWrite(t *testing.T) { require.NoError(t, err) require.Equal(t, []byte{0x1, 0x2, 0x3}, payload["rawReport"]) require.Equal(t, [][]byte{}, payload["signatures"]) - }).Twice() + }).Once() t.Run("succeeds with valid report", func(t *testing.T) { ctx := testutils.Context(t) @@ -127,7 +127,9 @@ func TestEvmWrite(t *testing.T) { require.NoError(t, err) inputs, err := values.NewMap(map[string]any{ - "report": nil, + "signed_report": map[string]any{ + "report": nil, + }, }) require.NoError(t, err)