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)