Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/RSJ-84' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
PierpaoloSpadafora committed Dec 6, 2024
2 parents 08631e0 + a0b6295 commit 346658f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions Backend/src/main/java/unical/demacs/rdm/utils/TimeWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
import lombok.AllArgsConstructor;
import lombok.Data;

/**
* Represents a time interval with start and end times in epoch seconds
*/
@Data
@AllArgsConstructor
public class TimeWindow {
private long startTime; // Start time in epoch seconds
private long endTime; // End time in epoch seconds
private long startTime;
private long endTime;
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void setUp() {
.id(1L)
.name("Test Machine")
.description("Test Machine Description")
.machine_type_id(machineType) // Corretto da .type() a .machine_type_id()
.machine_type_id(machineType)
.status(MachineStatus.AVAILABLE)
.build();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void setUp() {
.id(TEST_ID)
.name(TEST_NAME)
.description(TEST_DESCRIPTION)
.machine_type_id(testMachineType) // Corretto da .type() a .machine_type_id()
.machine_type_id(testMachineType)
.build();

testMachineDTO = new MachineDTO();
Expand Down

0 comments on commit 346658f

Please sign in to comment.