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 b860696
Showing 1 changed file with 4 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,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";

Expand Down

0 comments on commit b860696

Please sign in to comment.