From 7ed641dd1f1e669b4124e8807930752b43afa058 Mon Sep 17 00:00:00 2001 From: nogo <0xnogo@gmail.com> Date: Thu, 4 Jul 2024 18:38:49 +0200 Subject: [PATCH] fixing tests --- .../ocr2/plugins/ccip/internal/ccipdata/v1_0_0/offramp_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_0_0/offramp_test.go b/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_0_0/offramp_test.go index 7f2d7fc188..44fb6ca063 100644 --- a/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_0_0/offramp_test.go +++ b/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_0_0/offramp_test.go @@ -116,7 +116,7 @@ func TestExecOffchainConfig100_AllFieldsRequired(t *testing.T) { encodedPartialConfig, err := json.Marshal(partialConfig) require.NoError(t, err) _, err = ccipconfig.DecodeOffchainConfig[ExecOffchainConfig](encodedPartialConfig) - if keyToDelete == "BatchingStrategyId" { + if keyToDelete == "BatchingStrategyID" { require.NoError(t, err) } else { require.ErrorContains(t, err, keyToDelete)