Change device type to device type Id

merge-requests/7/head
manoj 10 years ago
parent 72a3df080b
commit da0351ebcd

@ -147,7 +147,7 @@ public class DeviceManagementDAOTests {
DeviceType deviceType = new DeviceType(); DeviceType deviceType = new DeviceType();
deviceType.setId(Long.parseLong("1")); deviceType.setId(Long.parseLong("1"));
device.setDeviceType(deviceType.getId().intValue()); device.setDeviceTypeId(deviceType.getId().intValue());
device.setOwnerShip(OwnerShip.BYOD.toString()); device.setOwnerShip(OwnerShip.BYOD.toString());
device.setOwnerId("111"); device.setOwnerId("111");
device.setTenantId(-1234); device.setTenantId(-1234);

Loading…
Cancel
Save