-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix #7319 - Fixed incorrect saving for HabitTranslation for ua fie…
…lds. (#7898) * Fixed functionality of saving HabitTranslation in saveHabitTranslationListsToHabitTranslationRepo method in HabitServiceImpl; Fixed necessary tests in HabitServiceImplTest; Added getHabitTranslationDtoEnAndUa method in ModelUtils; Added @notblank annotation in HabitTranslationDto for description, languageCode and name fields; Added @Valid annotation for validation HabitTranslationDto into CustomHabitDtoRequest; Added convertUa() and mapAllToList() methods into HabitTranslationMapper; Added necessary nests in HabitTranslationMapperTests; * Fixed sonar issues in HabitTranslationMapperTests; * Moved strings for language codes in AppConstant; Replced if/else to ObjectUtils.defaultNull; Added test for HabitTranslationMapperTests to improve coverage; * Formatted code in HabitTranslationMapperTests with formatter-maven-plagin;
- Loading branch information
1 parent
c4c7afd
commit b5324f3
Showing
8 changed files
with
161 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters