|
|
|
@ -19,6 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; |
|
|
|
import org.junit.After; |
|
|
|
import org.junit.Assert; |
|
|
|
import org.junit.Before; |
|
|
|
import org.junit.Ignore; |
|
|
|
import org.junit.Test; |
|
|
|
import org.mockito.AdditionalAnswers; |
|
|
|
import org.mockito.Mockito; |
|
|
|
@ -984,12 +985,14 @@ public abstract class BaseDeviceProfileControllerTest extends AbstractController |
|
|
|
tenantAdmin.getId(), tenantAdmin.getEmail(), ActionType.ADDED, new DataValidationException(errorMsg)); |
|
|
|
} |
|
|
|
|
|
|
|
@Ignore |
|
|
|
@Test |
|
|
|
public void testDeleteDeviceProfileWithDeleteRelationsOk() throws Exception { |
|
|
|
DeviceProfileId deviceProfileId = savedDeviceProfile("DeviceProfile for Test WithRelationsOk").getId(); |
|
|
|
testEntityDaoWithRelationsOk(savedTenant.getId(), deviceProfileId, "/api/deviceProfile/" + deviceProfileId); |
|
|
|
} |
|
|
|
|
|
|
|
@Ignore |
|
|
|
@Test |
|
|
|
public void testDeleteDeviceProfileExceptionWithRelationsTransactional() throws Exception { |
|
|
|
DeviceProfileId deviceProfileId = savedDeviceProfile("DeviceProfile for Test WithRelations Transactional Exception").getId(); |
|
|
|
|