fix
This commit is contained in:
parent
66b22064b4
commit
50d7c77177
1 changed files with 1 additions and 6 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue