Skip to content

Commit c1daa2b

Browse files
committed
fix(test): removed param in fetchClaims.execute call in SynchronizeServiceTest
1 parent c6752d4 commit c1daa2b

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

claimManagement/src/test/java/org/openimis/imisclaims/SynchronizeServiceTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ public void testDownloadClaims_WhenNetworkAvailable_ReturnsClaimsList() throws E
231231
// Mock the FetchClaims class
232232
FetchClaims fetchClaims = mock(FetchClaims.class);
233233
when(fetchClaims.execute(
234-
eq(global.getOfficerCode()),
235234
any(Claim.Status.class),
236235
any(Date.class),
237236
any(Date.class),
@@ -241,7 +240,6 @@ public void testDownloadClaims_WhenNetworkAvailable_ReturnsClaimsList() throws E
241240

242241
// When
243242
List<Claim> claims = fetchClaims.execute(
244-
global.getOfficerCode(),
245243
Claim.Status.PROCESSED,
246244
new Date(),
247245
new Date(),
@@ -273,7 +271,6 @@ public void testDownloadClaims_WhenNetworkUnavailable_ThrowsException() {
273271
assertThrows(Exception.class, () -> {
274272
// This should fail because there's no network
275273
new FetchClaims().execute(
276-
global.getOfficerCode(),
277274
Claim.Status.PROCESSED,
278275
new Date(),
279276
new Date(),

0 commit comments

Comments
 (0)