Skip to content

Commit

Permalink
Bindu | Add powermock ignore to fix the testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
binduak committed Oct 12, 2022
1 parent 2c31ed0 commit 57948a9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import org.openmrs.module.bahmniemrapi.encountertransaction.contract.BahmniEncounterTransaction;
import org.openmrs.util.OpenmrsUtil;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PowerMockIgnore;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;

Expand All @@ -18,6 +19,7 @@

@RunWith(PowerMockRunner.class)
@PrepareForTest(OpenmrsUtil.class)
@PowerMockIgnore({"javax.management.*", "javax.xml.*", "org.xml.sax.*", "org.w3c.dom.*", "org.springframework.context.*", "org.apache.log4j.*", "org.apache.commons.logging.*", "org.jacoco.*", "jdk.internal.reflect.*"})
public class BahmniEncounterTransactionUpdateAdviceTest {
private static String DEFAULT_ENCOUNTER_UUID = "defaultEncounterUuid";

Expand Down

0 comments on commit 57948a9

Please sign in to comment.