From 01c434552537caa8ed9af3033c5d1d33a68149ba Mon Sep 17 00:00:00 2001 From: GoZaddy Date: Wed, 13 Sep 2023 17:58:17 -0500 Subject: [PATCH 1/2] fix bug: issue #148 --- .../batch/bursarfeesfines/service/BursarFilterEvaluator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/folio/dew/batch/bursarfeesfines/service/BursarFilterEvaluator.java b/src/main/java/org/folio/dew/batch/bursarfeesfines/service/BursarFilterEvaluator.java index 8b4d55368..81eb0c9e2 100644 --- a/src/main/java/org/folio/dew/batch/bursarfeesfines/service/BursarFilterEvaluator.java +++ b/src/main/java/org/folio/dew/batch/bursarfeesfines/service/BursarFilterEvaluator.java @@ -57,7 +57,7 @@ public static boolean evaluate( filter instanceof BursarExportFilterFeeFineOwner filterFeeFineOwner ) { return UUID - .fromString(account.getAccount().getFeeFineOwner()) + .fromString(account.getAccount().getOwnerId()) .equals(filterFeeFineOwner.getFeeFineOwner()); } else if (filter instanceof BursarExportFilterLocation filterLocation) { Item item = account.getItem(); From a0506848421c5ece080472eee12b4cb82c7c6708 Mon Sep 17 00:00:00 2001 From: GoZaddy Date: Thu, 14 Sep 2023 11:28:38 -0500 Subject: [PATCH 2/2] fix bug: issue #148 --- .../bursarfeesfines/service/BursarFilterEvaluatorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/folio/dew/batch/bursarfeesfines/service/BursarFilterEvaluatorTest.java b/src/test/java/org/folio/dew/batch/bursarfeesfines/service/BursarFilterEvaluatorTest.java index c5b9b29e5..e9ef284a4 100644 --- a/src/test/java/org/folio/dew/batch/bursarfeesfines/service/BursarFilterEvaluatorTest.java +++ b/src/test/java/org/folio/dew/batch/bursarfeesfines/service/BursarFilterEvaluatorTest.java @@ -259,7 +259,7 @@ void testFilterAccountByFeeFineOwner() { filterFeeFineOwner.setFeeFineOwner(feeFineOwnerUUID); Account account = new Account(); - account.setFeeFineOwner("00000000-0000-4000-8000-000000000000"); + account.setOwnerId("00000000-0000-4000-8000-000000000000"); AccountWithAncillaryData accountWithAncillaryData = AccountWithAncillaryData .builder()