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 =
new SensorSaveRequest(
Sensor.SensorType.TEMPERATURE,
BigDecimal.ZERO,
BigDecimal.ZERO,
BigDecimal.ZERO,
42L,
"Test sensor");
Sensor.SensorType.TEMPERATURE, BigDecimal.ZERO, 42L, "Test sensor");
final Sensor created = sensorController.create(toSend, mockPrincipal);
checkSensorAgainstRequest(created, toSend);