This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 76ff4f82 authored by Michael Breu's avatar Michael Breu :speech_balloon:
Browse files

Fixing Tests

parent 392044a6
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
......@@ -12,11 +12,11 @@ import org.mapstruct.*;
@Mapper(componentModel = "spring", uses = {UserMapper.class})
public interface SavedSearchesMapper extends EntityMapper<SavedSearchesDTO, SavedSearches> {
@Mapping(source = "userId.id", target = "userIdId")
@Mapping(source = "userId.login", target = "userIdLogin")
@Mapping(source = "user.id", target = "userIdId")
@Mapping(source = "user.login", target = "userIdLogin")
SavedSearchesDTO toDto(SavedSearches savedSearches);
@Mapping(source = "userIdId", target = "userId")
@Mapping(source = "userId", target = "user")
SavedSearches toEntity(SavedSearchesDTO savedSearchesDTO);
default SavedSearches fromId(Long id) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment