Fixed lombok

This commit is contained in:
Claudio Maggioni (maggicl) 2020-05-18 11:54:08 +02:00
parent 0151467b2e
commit be5ab5b4b3
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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