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")
|
||||
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());
|
||||
|
|
Loading…
Reference in a new issue