Added config test

This commit is contained in:
Filip Izydorczyk
2020-09-04 16:24:00 +02:00
parent 16b9cb3cf2
commit 7a7c882163
4 changed files with 33 additions and 7 deletions

View File

@ -24,4 +24,8 @@ public class CourseService {
public void save(Course course) {
this.repo.save(course);
}
public int getCoursesAmmount(){
return (int)this.repo.count();
}
}