Skip to content

Commit

Permalink
improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr committed Dec 9, 2024
1 parent f494afe commit 08334ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class ManualReferenceTestRunner extends Eth2ReferenceTestCase {
*
* <p>May be overridden by the ENV_DISPLAY_NAME environment variable.
*/
private static final String DISPLAY_NAME = "invalid_incorrect_proof";
private static final String DISPLAY_NAME = "";

@ParameterizedTest(name = "{0}")
@MethodSource("loadReferenceTests")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ public void onNewBlobSidecar_shouldThrowIfNotMarkedKzgAndInclusionProofAsValidat
.signedBeaconBlockHeader(dataStructureUtil.randomSignedBeaconBlockHeader(currentSlot))
.build();

assertThat(blobSidecar.isKzgAndInclusionProofValidated()).isFalse();

assertThrows(
IllegalArgumentException.class,
() -> blockBlobSidecarsTrackersPool.onNewBlobSidecar(blobSidecar, RemoteOrigin.GOSSIP));
Expand Down

0 comments on commit 08334ef

Please sign in to comment.