access modifiers and constructors fix
This commit is contained in:
@ -21,16 +21,13 @@ public class GroupServiceTest {
|
||||
|
||||
@Test
|
||||
public void createAndDeleteGroup() {
|
||||
Groups group;
|
||||
int startAmmount = this.groupService.getGroupsAmmount();
|
||||
|
||||
//Create group
|
||||
group = new Groups();
|
||||
Groups group = new Groups();
|
||||
group.setRoom("A1");
|
||||
groupService.save(group);
|
||||
assertTrue(this.groupService.getGroupsAmmount() > startAmmount);
|
||||
|
||||
// Delete course
|
||||
groupService.delete(group);
|
||||
assertTrue(this.groupService.getGroupsAmmount() == startAmmount);
|
||||
}
|
||||
|
Reference in New Issue
Block a user