Skip to content

Commit b43a230

Browse files
committed
Add missing flag states in tests
1 parent a4a6bc9 commit b43a230

File tree

2 files changed

+21
-9
lines changed

2 files changed

+21
-9
lines changed

backend/src/test/kotlin/fr/gouv/cnsp/monitorfish/domain/entities/mission/mission_actions/actrep/JointDeploymentPlanUTests.kt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class JointDeploymentPlanUTests {
3636
isFromPoseidon = false,
3737
completion = Completion.TO_COMPLETE,
3838
flagState = CountryCode.FR,
39-
userTrigram = "LTH"
39+
userTrigram = "LTH",
4040
)
4141

4242
// When
@@ -73,7 +73,7 @@ class JointDeploymentPlanUTests {
7373
isFromPoseidon = false,
7474
completion = Completion.TO_COMPLETE,
7575
flagState = CountryCode.FR,
76-
userTrigram = "LTH"
76+
userTrigram = "LTH",
7777
)
7878

7979
// When
@@ -110,7 +110,7 @@ class JointDeploymentPlanUTests {
110110
isFromPoseidon = false,
111111
completion = Completion.TO_COMPLETE,
112112
flagState = CountryCode.FR,
113-
userTrigram = "LTH"
113+
userTrigram = "LTH",
114114
)
115115

116116
// When
@@ -147,7 +147,7 @@ class JointDeploymentPlanUTests {
147147
isFromPoseidon = false,
148148
completion = Completion.TO_COMPLETE,
149149
flagState = CountryCode.GB,
150-
userTrigram = "LTH"
150+
userTrigram = "LTH",
151151
)
152152

153153
// When
@@ -183,7 +183,7 @@ class JointDeploymentPlanUTests {
183183
isFromPoseidon = false,
184184
completion = Completion.TO_COMPLETE,
185185
flagState = CountryCode.GB,
186-
userTrigram = "LTH"
186+
userTrigram = "LTH",
187187
)
188188

189189
// When
@@ -218,7 +218,7 @@ class JointDeploymentPlanUTests {
218218
isFromPoseidon = false,
219219
completion = Completion.TO_COMPLETE,
220220
flagState = CountryCode.FR,
221-
userTrigram = "LTH"
221+
userTrigram = "LTH",
222222
)
223223

224224
// When
@@ -253,7 +253,7 @@ class JointDeploymentPlanUTests {
253253
isFromPoseidon = false,
254254
completion = Completion.TO_COMPLETE,
255255
flagState = CountryCode.FR,
256-
userTrigram = "LTH"
256+
userTrigram = "LTH",
257257
)
258258

259259
// When
@@ -293,7 +293,7 @@ class JointDeploymentPlanUTests {
293293
isFromPoseidon = false,
294294
completion = Completion.TO_COMPLETE,
295295
flagState = CountryCode.FR,
296-
userTrigram = "LTH"
296+
userTrigram = "LTH",
297297
)
298298

299299
// When
@@ -331,7 +331,7 @@ class JointDeploymentPlanUTests {
331331
isFromPoseidon = false,
332332
completion = Completion.TO_COMPLETE,
333333
flagState = CountryCode.FR,
334-
userTrigram = "LTH"
334+
userTrigram = "LTH",
335335
)
336336

337337
// When

backend/src/test/kotlin/fr/gouv/cnsp/monitorfish/domain/use_cases/mission/mission_actions/GetActivityReportsUTests.kt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ class GetActivityReportsUTests {
212212
hasSomeSpeciesSeized = false,
213213
isFromPoseidon = false,
214214
completion = Completion.TO_COMPLETE,
215+
flagState = CountryCode.FR,
216+
userTrigram = "LTH",
215217
),
216218
MissionAction(
217219
id = 2,
@@ -227,6 +229,8 @@ class GetActivityReportsUTests {
227229
hasSomeSpeciesSeized = false,
228230
isFromPoseidon = false,
229231
completion = Completion.TO_COMPLETE,
232+
flagState = CountryCode.FR,
233+
userTrigram = "LTH",
230234
),
231235
MissionAction(
232236
id = 3,
@@ -242,6 +246,8 @@ class GetActivityReportsUTests {
242246
hasSomeSpeciesSeized = false,
243247
isFromPoseidon = false,
244248
completion = Completion.TO_COMPLETE,
249+
flagState = CountryCode.FR,
250+
userTrigram = "LTH",
245251
),
246252
)
247253
given(missionActionsRepository.findSeaAndLandControlBetweenDates(any(), any())).willReturn(controls)
@@ -361,6 +367,8 @@ class GetActivityReportsUTests {
361367
hasSomeSpeciesSeized = false,
362368
isFromPoseidon = false,
363369
completion = Completion.TO_COMPLETE,
370+
flagState = CountryCode.FR,
371+
userTrigram = "LTH",
364372
),
365373
)
366374
given(missionActionsRepository.findSeaAndLandControlBetweenDates(any(), any())).willReturn(controls)
@@ -440,6 +448,8 @@ class GetActivityReportsUTests {
440448
hasSomeSpeciesSeized = false,
441449
isFromPoseidon = false,
442450
completion = Completion.TO_COMPLETE,
451+
flagState = CountryCode.FR,
452+
userTrigram = "LTH",
443453
),
444454
)
445455
given(missionActionsRepository.findSeaAndLandControlBetweenDates(any(), any())).willReturn(controls)
@@ -512,6 +522,8 @@ class GetActivityReportsUTests {
512522
hasSomeSpeciesSeized = false,
513523
isFromPoseidon = false,
514524
completion = Completion.TO_COMPLETE,
525+
flagState = CountryCode.FR,
526+
userTrigram = "LTH",
515527
),
516528
)
517529
given(missionActionsRepository.findSeaAndLandControlBetweenDates(any(), any())).willReturn(controls)

0 commit comments

Comments
 (0)