diff --git a/src/test/java/ch/usi/inf/sa4/sanmarinoes/smarthut/dto/SensorSaveRequestTests.java b/src/test/java/ch/usi/inf/sa4/sanmarinoes/smarthut/dto/SensorSaveRequestTests.java index 2ca98e8..6c99297 100644 --- a/src/test/java/ch/usi/inf/sa4/sanmarinoes/smarthut/dto/SensorSaveRequestTests.java +++ b/src/test/java/ch/usi/inf/sa4/sanmarinoes/smarthut/dto/SensorSaveRequestTests.java @@ -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());