This commit is contained in:
omenem 2020-05-27 18:28:21 +02:00
parent 66b22064b4
commit 50d7c77177

View file

@ -69,12 +69,7 @@ public class SensorControllerTests {
final SensorSaveRequest toSend = final SensorSaveRequest toSend =
new SensorSaveRequest( new SensorSaveRequest(
Sensor.SensorType.TEMPERATURE, Sensor.SensorType.TEMPERATURE, BigDecimal.ZERO, 42L, "Test sensor");
BigDecimal.ZERO,
BigDecimal.ZERO,
BigDecimal.ZERO,
42L,
"Test sensor");
final Sensor created = sensorController.create(toSend, mockPrincipal); final Sensor created = sensorController.create(toSend, mockPrincipal);
checkSensorAgainstRequest(created, toSend); checkSensorAgainstRequest(created, toSend);