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