Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
azizbekxm committed Nov 7, 2024
1 parent 3362a4b commit 83f9571
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions descriptors/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/api/support/utl/BlockOverridesUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> getMissingPermissions(Response response) {
Expand Down

0 comments on commit 83f9571

Please sign in to comment.