From 50d7c77177b0ac6c8e7508e40ad33e2e98f15927 Mon Sep 17 00:00:00 2001 From: omenem Date: Wed, 27 May 2020 18:28:21 +0200 Subject: [PATCH] fix --- .../smarthut/controller/SensorControllerTests.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/test/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/SensorControllerTests.java b/src/test/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/SensorControllerTests.java index c56537e..756a3b6 100644 --- a/src/test/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/SensorControllerTests.java +++ b/src/test/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/SensorControllerTests.java @@ -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);