feat: more tests
All checks were successful
Format / formatting (push) Successful in 6s
Build / build (push) Successful in 41s
CI / build (push) Successful in 11s

This commit is contained in:
Pierre Tellier
2025-04-23 11:52:00 +02:00
parent 32557f8f87
commit e7739af80b
3 changed files with 30 additions and 10 deletions

View File

@ -61,7 +61,7 @@ public class UtilsService {
}
// TODO: test
Boolean isAnAdmin(String mail) {
public Boolean isAnAdmin(String mail) {
try {
long userId = this.userService.getUserByEmail(mail).getIdUser();
Administrator a = this.administratorService.getAdministratorById(userId);