Skip to content

Commit

Permalink
[ONECTA] Add Unit test
Browse files Browse the repository at this point in the history
- Add Unit test DataTransportServiceTest

Signed-off-by: Alexander Drent <[email protected]>
  • Loading branch information
adr001db committed May 7, 2024
1 parent cb6505a commit 96c27b3
Show file tree
Hide file tree
Showing 3 changed files with 411 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public Enums.FanMovement getCurrentFanDirection() {
case "SWING_WINDNICE":
return Enums.FanMovement.VERTICAL_AND_HORIZONTAL_EXTRA;
default:
throw new IllegalArgumentException("Invalid day of the week: ");
throw new IllegalArgumentException("Invalid fan direc" + "tion: ");
}
} catch (Exception e) {
return Enums.FanMovement.UNKNOWN;
Expand Down
Loading

0 comments on commit 96c27b3

Please sign in to comment.