This commit is contained in:
omenem 2020-05-27 18:24:45 +02:00
parent 71302933e6
commit 66b22064b4

View file

@ -30,13 +30,7 @@ public class SensorSaveRequestTests {
@DisplayName("test constructor")
public void testConstructorNotEmpty() {
SensorSaveRequest newSaveRequest =
new SensorSaveRequest(
Sensor.SensorType.HUMIDITY,
new BigDecimal(12),
BigDecimal.ZERO,
BigDecimal.ZERO,
12L,
"name");
new SensorSaveRequest(Sensor.SensorType.HUMIDITY, new BigDecimal(12), 12L, "name");
assertNotNull(newSaveRequest.getSensor());
assertNotNull(newSaveRequest.getName());
assertNotNull(newSaveRequest.getRoomId());