readded JodelPost constructor from authorID for tests
This commit is contained in:
@@ -83,4 +83,9 @@ public class JodelPost {
|
||||
this.location = new Location(rs.getLong("longitude"), rs.getLong("latitude"));
|
||||
this.reactions = new Reactions(rs.getLong("positive"), rs.getLong("negative"));
|
||||
}
|
||||
|
||||
// constructor from authorID for tests
|
||||
public JodelPost(int authorID) {
|
||||
this.authorID = (long) authorID;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user