Fixed lombok
This commit is contained in:
parent
0151467b2e
commit
be5ab5b4b3
2 changed files with 4 additions and 2 deletions
|
@ -7,9 +7,11 @@ import javax.persistence.Enumerated;
|
|||
import javax.validation.constraints.NotNull;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class SensorSaveRequest {
|
||||
/** The type of this sensor */
|
||||
@NotNull
|
||||
|
|
|
@ -22,8 +22,8 @@ public class SensorSaveRequestTests {
|
|||
@Test
|
||||
@DisplayName("test setRoomId")
|
||||
public void testSetRoomId() {
|
||||
sensor.setRoomId(42l);
|
||||
assertEquals(42l, sensor.getRoomId());
|
||||
sensor.setRoomId(42L);
|
||||
assertEquals(42L, sensor.getRoomId());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in a new issue