Skip to content

Commit

Permalink
Fix cypress test
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Aug 14, 2024
1 parent e051752 commit 995a803
Show file tree
Hide file tree
Showing 3 changed files with 306 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,20 +117,62 @@ class VesselLightControllerITests {
// Given
val now = ZonedDateTime.now().minusDays(1)
val firstPosition = Position(
null, "FR224226850", "224226850", null, null, null, null, PositionType.AIS, false, false, 16.445, 48.2525, 1.8, 180.0,
now.minusHours(
id = null,
internalReferenceNumber = "FR224226850",
mmsi = "224226850",
ircs = null,
externalReferenceNumber = null,
vesselName = null,
flagState = null,
positionType = PositionType.AIS,
isManual = false,
isFishing = false,
course = 16.445,
latitude = 48.2525,
longitude = 1.8,
speed = 180.0,
isAtPort = false,
dateTime = now.minusHours(
4,
),
)
val secondPosition = Position(
null, "FR224226850", "224226850", null, null, null, null, PositionType.AIS, false, false, 16.445, 48.2525, 1.8, 180.0,
now.minusHours(
id = null,
internalReferenceNumber = "FR224226850",
mmsi = "224226850",
ircs = null,
externalReferenceNumber = null,
vesselName = null,
flagState = null,
positionType = PositionType.AIS,
isManual = false,
isFishing = false,
course = 16.445,
latitude = 48.2525,
longitude = 1.8,
speed = 180.0,
isAtPort = false,
dateTime = now.minusHours(
3,
),
)
val thirdPosition = Position(
null, "FR224226850", "224226850", null, null, null, null, PositionType.AIS, false, false, 16.445, 48.2525, 1.8, 180.0,
now.minusHours(
null,
internalReferenceNumber = "FR224226850",
mmsi = "224226850",
ircs = null,
externalReferenceNumber = null,
vesselName = null,
flagState = null,
positionType = PositionType.AIS,
isManual = false,
isFishing = false,
course = 16.445,
latitude = 48.2525,
longitude = 1.8,
speed = 180.0,
isAtPort = false,
dateTime = now.minusHours(
2,
),
)
Expand Down
Loading

0 comments on commit 995a803

Please sign in to comment.