Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
asvitkine committed Aug 27, 2023
1 parent 06a3271 commit fdcdef8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.when;

import java.util.Set;
import org.junit.jupiter.api.BeforeEach;
Expand Down Expand Up @@ -98,6 +99,7 @@ void setUp() {
map.addConnection(bd, cd);
map.addConnection(cd, dd);
nowhere = new Territory("nowhere", false, gameData);
when(gameData.getMap()).thenReturn(map);
}

@Test
Expand Down

0 comments on commit fdcdef8

Please sign in to comment.