Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import io.mosip.kernel.masterdata.utils.AuditUtil;
import org.junit.Before;
import org.junit.FixMethodOrder;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.MethodSorters;
Expand All @@ -27,6 +26,7 @@
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
import org.springframework.security.test.context.support.WithUserDetails;
import org.springframework.test.context.jdbc.Sql;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders;
Expand Down Expand Up @@ -509,9 +509,10 @@ public void decommissionRegCenter_WithDuplicateId_Fail() throws Exception {

}

@Ignore
@Test
@WithUserDetails("global-admin")
@Sql(statements = "DELETE FROM master.user_detail WHERE regcntr_id='10003'",
executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD)
public void decommissionRegCenterFail_WithMappedRegCenter() throws Exception {

MasterDataTest.checkResponse(
Expand Down
Loading