From 83f9571a77dcc7efad5b042d4f99be55b9b1564c Mon Sep 17 00:00:00 2001 From: Azizbek Khushvakov Date: Thu, 7 Nov 2024 17:16:46 +0500 Subject: [PATCH] Fix unit tests --- descriptors/ModuleDescriptor-template.json | 9 ++++++--- src/test/java/api/support/utl/BlockOverridesUtils.java | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/descriptors/ModuleDescriptor-template.json b/descriptors/ModuleDescriptor-template.json index 6b2c36086d..b95aba7d7a 100644 --- a/descriptors/ModuleDescriptor-template.json +++ b/descriptors/ModuleDescriptor-template.json @@ -1912,8 +1912,10 @@ "scheduled-notice-storage.scheduled-notices.item.delete", "scheduled-notice-storage.scheduled-notices.collection.delete", "scheduled-notice-storage.scheduled-notices.item.post", - "accounts.refund.post", - "accounts.cancel.post", + "feesfines.accounts.refund.item.post", + "feesfines.accounts-bulk.refund.item.post", + "feesfines.accounts.cancel.item.post", + "feesfines.accounts-bulk.cancel.item.post", "configuration.entries.collection.get", "calendar.endpoint.calendars.surroundingOpenings.get", "calendar.endpoint.calendars.allOpenings.get", @@ -1965,7 +1967,8 @@ "feefineactions.item.get", "owners.collection.get", "accounts.item.post", - "accounts.cancel.post", + "feesfines.accounts.cancel.item.post", + "feesfines.accounts-bulk.cancel.item.post", "pubsub.publish.post", "automated-patron-blocks.collection.get", "scheduled-notice-storage.scheduled-notices.item.delete", diff --git a/src/test/java/api/support/utl/BlockOverridesUtils.java b/src/test/java/api/support/utl/BlockOverridesUtils.java index 56e7e9e403..76f9121cfb 100644 --- a/src/test/java/api/support/utl/BlockOverridesUtils.java +++ b/src/test/java/api/support/utl/BlockOverridesUtils.java @@ -14,7 +14,7 @@ public final class BlockOverridesUtils { public static final String OVERRIDE_RENEWAL_PERMISSION = "circulation.override-renewal-block.post"; - public static final String OVERRIDE_PATRON_BLOCK_PERMISSION = "circulation.override-patron-block"; + public static final String OVERRIDE_PATRON_BLOCK_PERMISSION = "circulation.override-patron-block.post"; private static final String OVERRIDABLE_BLOCK = "overridableBlock"; public static List getMissingPermissions(Response response) {