From 66b22064b41fefb6fad5fdb7550efdd69d337519 Mon Sep 17 00:00:00 2001 From: omenem Date: Wed, 27 May 2020 18:24:45 +0200 Subject: [PATCH] fix --- .../sanmarinoes/smarthut/dto/SensorSaveRequestTests.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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());