Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
NickAragua committed May 26, 2021
1 parent 2c40e98 commit 22f309b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
import mekhq.campaign.force.Force;
import mekhq.campaign.mission.AtBContract;
import mekhq.campaign.mission.Contract;
import mekhq.campaign.mission.enums.ContractCommandRights;
import mekhq.campaign.mission.enums.MissionStatus;
import mekhq.campaign.personnel.Person;
import mekhq.campaign.personnel.enums.PersonnelRole;
Expand Down Expand Up @@ -165,6 +166,7 @@ public void generateContractOffersMercSubcontractTest() {
when(existing.getStartDate()).thenReturn(campaign.getLocalDate().minusDays(3000));
when(existing.getEndingDate()).thenReturn(campaign.getLocalDate().plusDays(3000));
when(existing.isActiveOn(campaign.getLocalDate(), false)).thenCallRealMethod();
when(existing.getCommandRights()).thenReturn(ContractCommandRights.INDEPENDENT);
campaign.importMission(existing);

ContractMarket market = new ContractMarket();
Expand Down

0 comments on commit 22f309b

Please sign in to comment.