Ejemplo n.º 1
0
 @Test
 public void shouldRemoveParent() {
   setupData("shouldRemoveParent");
   profilesManager.changeParentProfile(2, null, "admin");
   checkTables("shouldRemoveParent", "active_rules", "rules_profiles");
 }
Ejemplo n.º 2
0
 @Test
 public void shouldChangeParent() {
   setupData("shouldChangeParent");
   profilesManager.changeParentProfile(3, "new_parent", "admin");
   checkTables("shouldChangeParent", "active_rules", "rules_profiles");
 }