Skip to content

Commit

Permalink
Fix mock cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ramsessanchez committed Aug 9, 2023
1 parent da2f063 commit 6ec5765
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ public PeriodAndDuration getWorkDuration() {
return _workDuration;
}

public void setWorkDuration(PeriodAndDuration value) {
this._workDuration = value;
public void setWorkDuration(final PeriodAndDuration value) {
this._workDuration = PeriodAndDuration.of(value.getPeriod(), value.getDuration());
}

private LocalTime _startWorkTime;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public PeriodAndDuration getWorkDuration() {
}

public void setWorkDuration(PeriodAndDuration value) {
this._workDuration = value;
this._workDuration = PeriodAndDuration.of(value.getPeriod(), value.getDuration());
}

private LocalTime _startWorkTime;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public PeriodAndDuration getWorkDuration() {
}

public void setWorkDuration(PeriodAndDuration value) {
this._workDuration = value;
this._workDuration = PeriodAndDuration.of(value.getPeriod(), value.getDuration());
}

private LocalTime _startWorkTime;
Expand Down

0 comments on commit 6ec5765

Please sign in to comment.