diff --git a/bahmni-emr-api/src/test/java/org/openmrs/module/bahmniemrapi/encountertransaction/advice/BahmniEncounterTransactionUpdateAdviceTest.java b/bahmni-emr-api/src/test/java/org/openmrs/module/bahmniemrapi/encountertransaction/advice/BahmniEncounterTransactionUpdateAdviceTest.java index 18dd3f461a..058ba2b221 100644 --- a/bahmni-emr-api/src/test/java/org/openmrs/module/bahmniemrapi/encountertransaction/advice/BahmniEncounterTransactionUpdateAdviceTest.java +++ b/bahmni-emr-api/src/test/java/org/openmrs/module/bahmniemrapi/encountertransaction/advice/BahmniEncounterTransactionUpdateAdviceTest.java @@ -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; @@ -18,6 +19,9 @@ @RunWith(PowerMockRunner.class) @PrepareForTest(OpenmrsUtil.class) +@PowerMockIgnore({"javax.management.", "com.sun.org.apache.xerces.", + "javax.xml.", "org.xml.", "org.w3c.dom.", + "com.sun.org.apache.xalan.", "javax.activation.*"}) public class BahmniEncounterTransactionUpdateAdviceTest { private static String DEFAULT_ENCOUNTER_UUID = "defaultEncounterUuid";