Checkpoint: Added mew test

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
2021-01-12 18:39:22 +01:00
parent 1e1160736d
commit f9a27abb32
2 changed files with 79 additions and 5 deletions

View File

@ -46,6 +46,10 @@ public class ExchangeService {
return this.repo.findById(id);
}
public List<Exchange> getAllExchanges() {
return this.repo.findAll();
}
/**
* @param id Id of user
* @return List of exchanges that belong to user