Skip to content

Commit

Permalink
tweak test data to ensure dates gets filtered out correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
agnesgaroux committed Dec 6, 2024
1 parent fd1c65d commit 417c0a4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ trait ItemsApiGenerators extends LocalResources {
"id": "venue-id",
"title": "Library",
"nextOpeningDates": [
{
"open": "2024-05-02T09:00:00.000Z",
"close": "2024-05-02T17:00:00.000Z"
},
{
"open": "2024-05-03T09:00:00.000Z",
"close": "2024-05-03T17:00:00.000Z"
},
{
"open": "2024-05-04T09:00:00.000Z",
"close": "2024-05-04T17:00:00.000Z"
Expand Down Expand Up @@ -221,13 +229,17 @@ trait ItemsApiGenerators extends LocalResources {
"id": "venue-id",
"title": "Library",
"nextOpeningDates": [
{
"open": "2024-05-02T09:00:00.000Z",
"close": "2024-05-02T17:00:00.000Z"
},
{
"open": "2024-05-05T09:00:00.000Z",
"close": "2024-05-05T17:00:00.000Z"
"open": "2024-05-03T09:00:00.000Z",
"close": "2024-05-03T17:00:00.000Z"
},
{
"open": "2024-05-06T09:00:00.000Z",
"close": "2024-05-06T17:00:00.000Z"
"open": "2024-05-05T09:00:00.000Z",
"close": "2024-05-05T17:00:00.000Z"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,10 +488,6 @@ class SierraItemUpdaterTest
AvailabilitySlot(
"2024-05-05T09:00:00.000Z",
"2024-05-05T17:00:00.000Z"
),
AvailabilitySlot(
"2024-05-06T09:00:00.000Z",
"2024-05-06T17:00:00.000Z"
)
)
)
Expand Down

0 comments on commit 417c0a4

Please sign in to comment.