Skip to content

Commit

Permalink
Revert changes made to BlockAnnounceEngineTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Georgi Grigorov committed Sep 9, 2024
1 parent 99f85a0 commit e55ff8e
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@

import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.*;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.mockConstruction;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyNoInteractions;
import static org.mockito.Mockito.verifyNoMoreInteractions;
import static org.mockito.Mockito.when;

@SuppressWarnings("unused")
@ExtendWith(MockitoExtension.class)
Expand Down Expand Up @@ -129,7 +134,7 @@ void receiveBlockAnnounceWhenConnectedShouldUpdatePeer() {
}

@Test
void receiveBlockAnnounceWhenConnectedShouldSyncMessage() throws IllegalAccessException, NoSuchFieldException {
void receiveBlockAnnounceWhenConnectedShouldSyncMessage() {
byte[] message = new byte[] { 1, 2, 3 };
BlockAnnounceMessage blockAnnounceMessage = mock(BlockAnnounceMessage.class);
when(blockAnnounceMessage.getHeader()).thenReturn(mock(BlockHeader.class));
Expand Down

0 comments on commit e55ff8e

Please sign in to comment.