Commit c7c23fc5 authored by Marco Descher's avatar Marco Descher

[9918] Fix Test_Reminder#testFindOpenRemindersResponsibleFor

parent 74503fb9
Pipeline #12442 passed with stages
in 4 minutes and 47 seconds
......@@ -18,9 +18,6 @@ import org.junit.Test;
import ch.elexis.core.constants.StringConstants;
import ch.elexis.core.data.activator.CoreHub;
import ch.elexis.core.data.service.ContextServiceHolder;
import ch.elexis.core.data.service.CoreModelServiceHolder;
import ch.elexis.core.model.IUser;
import ch.elexis.core.model.issue.ProcessStatus;
import ch.elexis.core.model.issue.Visibility;
import ch.rgw.tools.JdbcLink;
......@@ -43,9 +40,6 @@ public class Test_Reminder extends AbstractPersistentObjectTest {
} else {
anwender = user.getAssignedContact();
}
// set user and Mandant in system
ContextServiceHolder.get().setActiveUser(
CoreModelServiceHolder.get().load(user.getId(), IUser.class).orElse(null));
Mandant m = new Mandant("Mandant", "Erwin", "26.07.1979", "m");
patient = new Patient("Mia", "Krank", "22041982", "w");
CoreHub.setMandant(m);
......@@ -91,7 +85,6 @@ public class Test_Reminder extends AbstractPersistentObjectTest {
}
@Test
@Ignore
public void testFindOpenRemindersResponsibleFor(){
reminderA = new Reminder(null, new TimeTool().toString(TimeTool.DATE_GER),
Visibility.ALWAYS, "", "TestMessage");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment