From 88b03aee3e49b4b231929a5f1e84ffe3bcd96656 Mon Sep 17 00:00:00 2001 From: Gabriel-Trintinalia Date: Thu, 21 Nov 2024 14:03:54 +1100 Subject: [PATCH] Fix unit test Signed-off-by: Gabriel-Trintinalia --- .../besu/ethereum/eth/sync/fastsync/ImportBlocksStepTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/sync/fastsync/ImportBlocksStepTest.java b/ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/sync/fastsync/ImportBlocksStepTest.java index 1a9b35f0b6..c26e730aa3 100644 --- a/ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/sync/fastsync/ImportBlocksStepTest.java +++ b/ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/sync/fastsync/ImportBlocksStepTest.java @@ -91,7 +91,7 @@ public class ImportBlocksStepTest { blockWithReceipts.getReceipts(), FULL, LIGHT, - BodyValidationMode.FULL)) + BodyValidationMode.LIGHT)) .thenReturn(new BlockImportResult(true)); } importBlocksStep.accept(blocksWithReceipts); @@ -113,7 +113,7 @@ public class ImportBlocksStepTest { blockWithReceipts.getReceipts(), FULL, LIGHT, - BodyValidationMode.FULL)) + BodyValidationMode.LIGHT)) .thenReturn(new BlockImportResult(false)); assertThatThrownBy(() -> importBlocksStep.accept(singletonList(blockWithReceipts))) .isInstanceOf(InvalidBlockException.class);