|
|
@ -20,6 +20,7 @@ import com.fasterxml.jackson.databind.JsonNode; |
|
|
import com.fasterxml.jackson.databind.ObjectMapper; |
|
|
import com.fasterxml.jackson.databind.ObjectMapper; |
|
|
import org.junit.After; |
|
|
import org.junit.After; |
|
|
import org.junit.Assert; |
|
|
import org.junit.Assert; |
|
|
|
|
|
import org.junit.Ignore; |
|
|
import org.junit.Test; |
|
|
import org.junit.Test; |
|
|
import org.mockito.AdditionalAnswers; |
|
|
import org.mockito.AdditionalAnswers; |
|
|
import org.mockito.Mockito; |
|
|
import org.mockito.Mockito; |
|
|
@ -717,13 +718,13 @@ public abstract class BaseUserControllerTest extends AbstractControllerTest { |
|
|
.andExpect(status().isOk()); |
|
|
.andExpect(status().isOk()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
|
public void testDeleteUserWithDeleteRelationsOk() throws Exception { |
|
|
public void testDeleteUserWithDeleteRelationsOk() throws Exception { |
|
|
UserId userId = createUser().getId(); |
|
|
UserId userId = createUser().getId(); |
|
|
testEntityDaoWithRelationsOk(tenantId, userId, "/api/user/" + userId); |
|
|
testEntityDaoWithRelationsOk(tenantId, userId, "/api/user/" + userId); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Ignore |
|
|
@Test |
|
|
@Test |
|
|
public void testDeleteUserExceptionWithRelationsTransactional() throws Exception { |
|
|
public void testDeleteUserExceptionWithRelationsTransactional() throws Exception { |
|
|
UserId userId = createUser().getId(); |
|
|
UserId userId = createUser().getId(); |
|
|
|