|
|
|
@ -270,7 +270,7 @@ public abstract class BaseDeviceServiceTest extends AbstractServiceTest { |
|
|
|
name = i % 2 == 0 ? name.toLowerCase() : name.toUpperCase(); |
|
|
|
device.setName(name); |
|
|
|
device.setType("default"); |
|
|
|
devicesTitle1.add(new DeviceInfo(deviceService.saveDevice(device), null, false, "Default")); |
|
|
|
devicesTitle1.add(new DeviceInfo(deviceService.saveDevice(device), null, false, "default")); |
|
|
|
} |
|
|
|
String title2 = "Device title 2"; |
|
|
|
List<DeviceInfo> devicesTitle2 = new ArrayList<>(); |
|
|
|
@ -282,7 +282,7 @@ public abstract class BaseDeviceServiceTest extends AbstractServiceTest { |
|
|
|
name = i % 2 == 0 ? name.toLowerCase() : name.toUpperCase(); |
|
|
|
device.setName(name); |
|
|
|
device.setType("default"); |
|
|
|
devicesTitle2.add(new DeviceInfo(deviceService.saveDevice(device), null, false, "Default")); |
|
|
|
devicesTitle2.add(new DeviceInfo(deviceService.saveDevice(device), null, false, "default")); |
|
|
|
} |
|
|
|
|
|
|
|
List<DeviceInfo> loadedDevicesTitle1 = new ArrayList<>(); |
|
|
|
@ -435,7 +435,7 @@ public abstract class BaseDeviceServiceTest extends AbstractServiceTest { |
|
|
|
device.setName("Device"+i); |
|
|
|
device.setType("default"); |
|
|
|
device = deviceService.saveDevice(device); |
|
|
|
devices.add(new DeviceInfo(deviceService.assignDeviceToCustomer(tenantId, device.getId(), customerId), customer.getTitle(), customer.isPublic(), "Default")); |
|
|
|
devices.add(new DeviceInfo(deviceService.assignDeviceToCustomer(tenantId, device.getId(), customerId), customer.getTitle(), customer.isPublic(), "default")); |
|
|
|
} |
|
|
|
|
|
|
|
List<DeviceInfo> loadedDevices = new ArrayList<>(); |
|
|
|
|