Skip to content

Commit

Permalink
Address comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
JeethJJ committed Aug 29, 2024
1 parent 7c4bb10 commit 42f15c8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* Templates are stored in nested maps, where the outer map is keyed by the template display name and the inner map
* is keyed by locale. This allows for easy retrieval of localized templates.
* This class used by {@link DefaultTemplateManager} as a fallback mechanism.
* This class only supports for tenant specific notification templates.
* This class keeping set of templates that will be commonly used as default templates across all the tenants.
*/
public class InMemoryBasedTemplateManager implements TemplatePersistenceManager {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,6 @@ private void mockRegistryResource(String notificationChannel, String displayName

when(resourceMgtService.getIdentityResource(Matchers.anyString(), Matchers.anyString(), Matchers.anyString()))
.thenReturn(resource);
when(resourceMgtService.isResourceExists(Matchers.anyString(), Matchers.anyString())).thenReturn(true);

// Mock Resource properties.
when(resource.getProperty(I18nMgtConstants.TEMPLATE_TYPE_DISPLAY_NAME)).thenReturn(displayName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,6 @@ private void mockRegistryResource(String notificationChannel, String displayName

when(resourceMgtService.getIdentityResource(Matchers.anyString(), Matchers.anyString(), Matchers.anyString()))
.thenReturn(resource);
when(resourceMgtService.isResourceExists(Matchers.anyString(), Matchers.anyString())).thenReturn(true);

// Mock Resource properties.
when(resource.getProperty(I18nMgtConstants.TEMPLATE_TYPE_DISPLAY_NAME)).thenReturn(displayName);
Expand Down

0 comments on commit 42f15c8

Please sign in to comment.