This commit is contained in:
omenem 2020-05-27 18:24:45 +02:00
parent 71302933e6
commit 66b22064b4

View file

@ -30,13 +30,7 @@ public class SensorSaveRequestTests {
@DisplayName("test constructor") @DisplayName("test constructor")
public void testConstructorNotEmpty() { public void testConstructorNotEmpty() {
SensorSaveRequest newSaveRequest = SensorSaveRequest newSaveRequest =
new SensorSaveRequest( new SensorSaveRequest(Sensor.SensorType.HUMIDITY, new BigDecimal(12), 12L, "name");
Sensor.SensorType.HUMIDITY,
new BigDecimal(12),
BigDecimal.ZERO,
BigDecimal.ZERO,
12L,
"name");
assertNotNull(newSaveRequest.getSensor()); assertNotNull(newSaveRequest.getSensor());
assertNotNull(newSaveRequest.getName()); assertNotNull(newSaveRequest.getName());
assertNotNull(newSaveRequest.getRoomId()); assertNotNull(newSaveRequest.getRoomId());