Skip to content

Commit

Permalink
Add missing flag states in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed May 29, 2024
1 parent a4a6bc9 commit b43a230
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class JointDeploymentPlanUTests {
isFromPoseidon = false,
completion = Completion.TO_COMPLETE,
flagState = CountryCode.FR,
userTrigram = "LTH"
userTrigram = "LTH",
)

// When
Expand Down Expand Up @@ -73,7 +73,7 @@ class JointDeploymentPlanUTests {
isFromPoseidon = false,
completion = Completion.TO_COMPLETE,
flagState = CountryCode.FR,
userTrigram = "LTH"
userTrigram = "LTH",
)

// When
Expand Down Expand Up @@ -110,7 +110,7 @@ class JointDeploymentPlanUTests {
isFromPoseidon = false,
completion = Completion.TO_COMPLETE,
flagState = CountryCode.FR,
userTrigram = "LTH"
userTrigram = "LTH",
)

// When
Expand Down Expand Up @@ -147,7 +147,7 @@ class JointDeploymentPlanUTests {
isFromPoseidon = false,
completion = Completion.TO_COMPLETE,
flagState = CountryCode.GB,
userTrigram = "LTH"
userTrigram = "LTH",
)

// When
Expand Down Expand Up @@ -183,7 +183,7 @@ class JointDeploymentPlanUTests {
isFromPoseidon = false,
completion = Completion.TO_COMPLETE,
flagState = CountryCode.GB,
userTrigram = "LTH"
userTrigram = "LTH",
)

// When
Expand Down Expand Up @@ -218,7 +218,7 @@ class JointDeploymentPlanUTests {
isFromPoseidon = false,
completion = Completion.TO_COMPLETE,
flagState = CountryCode.FR,
userTrigram = "LTH"
userTrigram = "LTH",
)

// When
Expand Down Expand Up @@ -253,7 +253,7 @@ class JointDeploymentPlanUTests {
isFromPoseidon = false,
completion = Completion.TO_COMPLETE,
flagState = CountryCode.FR,
userTrigram = "LTH"
userTrigram = "LTH",
)

// When
Expand Down Expand Up @@ -293,7 +293,7 @@ class JointDeploymentPlanUTests {
isFromPoseidon = false,
completion = Completion.TO_COMPLETE,
flagState = CountryCode.FR,
userTrigram = "LTH"
userTrigram = "LTH",
)

// When
Expand Down Expand Up @@ -331,7 +331,7 @@ class JointDeploymentPlanUTests {
isFromPoseidon = false,
completion = Completion.TO_COMPLETE,
flagState = CountryCode.FR,
userTrigram = "LTH"
userTrigram = "LTH",
)

// When
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ class GetActivityReportsUTests {
hasSomeSpeciesSeized = false,
isFromPoseidon = false,
completion = Completion.TO_COMPLETE,
flagState = CountryCode.FR,
userTrigram = "LTH",
),
MissionAction(
id = 2,
Expand All @@ -227,6 +229,8 @@ class GetActivityReportsUTests {
hasSomeSpeciesSeized = false,
isFromPoseidon = false,
completion = Completion.TO_COMPLETE,
flagState = CountryCode.FR,
userTrigram = "LTH",
),
MissionAction(
id = 3,
Expand All @@ -242,6 +246,8 @@ class GetActivityReportsUTests {
hasSomeSpeciesSeized = false,
isFromPoseidon = false,
completion = Completion.TO_COMPLETE,
flagState = CountryCode.FR,
userTrigram = "LTH",
),
)
given(missionActionsRepository.findSeaAndLandControlBetweenDates(any(), any())).willReturn(controls)
Expand Down Expand Up @@ -361,6 +367,8 @@ class GetActivityReportsUTests {
hasSomeSpeciesSeized = false,
isFromPoseidon = false,
completion = Completion.TO_COMPLETE,
flagState = CountryCode.FR,
userTrigram = "LTH",
),
)
given(missionActionsRepository.findSeaAndLandControlBetweenDates(any(), any())).willReturn(controls)
Expand Down Expand Up @@ -440,6 +448,8 @@ class GetActivityReportsUTests {
hasSomeSpeciesSeized = false,
isFromPoseidon = false,
completion = Completion.TO_COMPLETE,
flagState = CountryCode.FR,
userTrigram = "LTH",
),
)
given(missionActionsRepository.findSeaAndLandControlBetweenDates(any(), any())).willReturn(controls)
Expand Down Expand Up @@ -512,6 +522,8 @@ class GetActivityReportsUTests {
hasSomeSpeciesSeized = false,
isFromPoseidon = false,
completion = Completion.TO_COMPLETE,
flagState = CountryCode.FR,
userTrigram = "LTH",
),
)
given(missionActionsRepository.findSeaAndLandControlBetweenDates(any(), any())).willReturn(controls)
Expand Down

0 comments on commit b43a230

Please sign in to comment.