Commision service tests
This commit is contained in:
@ -32,4 +32,8 @@ public class CommisionService {
|
||||
public Optional<Commision> getNewestCommision(User user) {
|
||||
return Optional.of(this.repo.getNewestCommision(user.getId()).get(0));
|
||||
}
|
||||
|
||||
public long getCommisionsAmmount() {
|
||||
return this.repo.count();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user