Skip to content

Commit

Permalink
Merge branch 'MegaMek:master' into issue-3650-rfe-add-ability-to-link…
Browse files Browse the repository at this point in the history
…-units-2
  • Loading branch information
psikomonkie authored Jan 9, 2025
2 parents 628c13b + 8ea7a6d commit a07fa95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions MekHQ/docs/history.txt
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ MEKHQ VERSION HISTORY:
+ PR #5676: Corrected Transportation Unit Type Check
+ Fix #5663: Addresses where the financeTable is empty
+ Fix #5664: Expanded Contract Automation Functionality to Manually Created AtB Contracts
+ Fix #5728: fixed error with resolver test

0.50.01 (2024-11-10 1800 UTC)
+ PR #4810: Respecting Trademarks (Mech to Mek)
Expand Down
5 changes: 2 additions & 3 deletions MekHQ/unittests/mekhq/campaign/autoresolve/ResolverTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ public static void setupClass() throws IOException {
@Mock
private BotForce botForce;

@InjectMocks
private Resolver resolver;


@BeforeEach
public void setup() {
Expand Down Expand Up @@ -355,7 +354,7 @@ void autoResolve(Consumer<AutoResolveConcludedEvent> autoResolveConcludedEvent)
when(botForce.getTeam()).thenReturn(2);
when(botForce.getFullEntityList(any())).thenReturn(entities);

resolver = Resolver.simulationRun(new AtBSetupForces(campaign, units, scenario), SimulationOptions.empty(), new Board(30, 30));
var resolver = Resolver.simulationRun(new AtBSetupForces(campaign, units, scenario), SimulationOptions.empty(), new Board(30, 30));
autoResolveConcludedEvent.accept(resolver.resolveSimulation());
}

Expand Down

0 comments on commit a07fa95

Please sign in to comment.