Fix tests and profile picture
This commit is contained in:
@@ -21,11 +21,12 @@ public class MaximalUserDTO {
|
||||
private Set<Trip> trips;
|
||||
|
||||
private Set<Friendship> friendships;
|
||||
private String base64ProfilePicture;
|
||||
|
||||
public MaximalUserDTO() {
|
||||
}
|
||||
|
||||
public MaximalUserDTO(Long id, String publicName, String privateName, String email, VisibilityPrivacy visibilityPrivacy, Set<Trip> trips, Set<Friendship> friendships) {
|
||||
public MaximalUserDTO(Long id, String publicName, String privateName, String email, VisibilityPrivacy visibilityPrivacy, Set<Trip> trips, Set<Friendship> friendships, String base64ProfilePicture) {
|
||||
this.id = id;
|
||||
this.publicName = publicName;
|
||||
this.privateName = privateName;
|
||||
@@ -33,6 +34,7 @@ public class MaximalUserDTO {
|
||||
this.visibilityPrivacy = visibilityPrivacy;
|
||||
this.trips = trips;
|
||||
this.friendships = friendships;
|
||||
this.base64ProfilePicture = base64ProfilePicture;
|
||||
}
|
||||
|
||||
|
||||
@@ -91,4 +93,12 @@ public class MaximalUserDTO {
|
||||
public void setFriendships(Set<Friendship> friendships) {
|
||||
this.friendships = friendships;
|
||||
}
|
||||
|
||||
public String getBase64ProfilePicture() {
|
||||
return base64ProfilePicture;
|
||||
}
|
||||
|
||||
public void setBase64ProfilePicture(String base64ProfilePicture) {
|
||||
this.base64ProfilePicture = base64ProfilePicture;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user