Skip to content

Commit

Permalink
Fixed broken test.
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Littley <cody@swirldslabs.com>
  • Loading branch information
cody-littley committed May 16, 2023
1 parent 9106887 commit 7b37ecc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
import com.swirlds.merkle.map.test.lifecycle.ExpectedValue;
import com.swirlds.merkle.map.test.pta.MapKey;
import com.swirlds.merkle.map.test.pta.TransactionRecord;
import com.swirlds.platform.SwirldsPlatform;
import com.swirlds.platform.state.DualStateImpl;
import java.io.IOException;
import java.nio.file.Path;
Expand Down Expand Up @@ -83,7 +82,7 @@ public static void setUp() throws ConstructableRegistryException {

mapKey = new MapKey(0, 0, random.nextLong());
state = Mockito.spy(PlatformTestingToolState.class);
Platform platform = Mockito.spy(SwirldsPlatform.class);
final Platform platform = Mockito.mock(Platform.class);
when(platform.getSelfId()).thenReturn(new NodeId(0L));
AddressBook addressBook = Mockito.spy(AddressBook.class);
when(addressBook.getNumberWithWeight()).thenReturn(4);
Expand Down

0 comments on commit 7b37ecc

Please sign in to comment.