Skip to content

Commit 1e79e55

Browse files
authored
DS-3293 Updated opening times in integration test case to a future date (#1038)
# Task Branch Pull Request **<https://nhsd-jira.digital.nhs.uk/browse/DS-3293>** ## Description of Changes Updating date to a future date for open timings integration test ## Type of change - Integration test case scenario change for open timings ## Development Checklist - [x] I have performed a self-review of my own code - [x] Tests have added that prove my fix is effective or that my feature works (Integration tests) - [x] I have updated Dependabot to include my changes (if applicable) ## Code Reviewer Checklist - [x] I can confirm the changes have been tested or approved by a tester
1 parent 2bd4110 commit 1e79e55

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

test/integration/features/F006_Opening_Times.feature

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ Feature: F006. Opening times
3333
@complete @opening_times
3434
Scenario: F006SXX6. Confirm recently added specified opening date can be removed from Dos
3535
Given a basic service is created
36-
And the change event is "open" on date "Jan 01 2025"
36+
And the change event is "open" on date "Jan 01 2026"
3737
When the Changed Event is sent for processing with "valid" api key
38-
Then DoS is open on "Jan 01 2025"
38+
Then DoS is open on "Jan 01 2026"
3939
Given the change event has no specified opening dates
4040
When the Changed Event is sent for processing with "valid" api key
41-
Then there is no longer a specified opening on "Jan 01 2025"
41+
Then there is no longer a specified opening on "Jan 01 2026"
4242
And the service history is updated with the "removed" specified opening times
4343

4444
@complete @opening_times
@@ -55,29 +55,29 @@ Feature: F006. Opening times
5555
@complete @opening_times
5656
Scenario: F006SX8. Additional date changes open to closed
5757
Given an entry is created in the services table
58-
And the service is "open" on date "Jan 01 2025"
58+
And the service is "open" on date "Jan 01 2026"
5959
And the entry is committed to the services table
60-
And the change event is "closed" on date "Jan 01 2025"
60+
And the change event is "closed" on date "Jan 01 2026"
6161
When the Changed Event is sent for processing with "valid" api key
62-
Then DoS is closed on "Jan 01 2025"
62+
Then DoS is closed on "Jan 01 2026"
6363

6464
@complete @opening_times
6565
Scenario: F006SX9. Additional date changes closed to open
6666
Given an entry is created in the services table
67-
And the service is "closed" on date "Jan 01 2025"
67+
And the service is "closed" on date "Jan 01 2026"
6868
And the entry is committed to the services table
69-
And the change event is "open" on date "Jan 01 2025"
69+
And the change event is "open" on date "Jan 01 2026"
7070
When the Changed Event is sent for processing with "valid" api key
71-
Then DoS is open on "Jan 01 2025"
71+
Then DoS is open on "Jan 01 2026"
7272

7373
@complete @opening_times
7474
Scenario: F006SX10. Additional date changes times changed
7575
Given an entry is created in the services table
76-
And the service is "open" on date "Jan 01 2025"
76+
And the service is "open" on date "Jan 01 2026"
7777
And the entry is committed to the services table
78-
And the change event specified opening is "open" from "10:00" to "16:00" on date "Jan 01 2025"
78+
And the change event specified opening is "open" from "10:00" to "16:00" on date "Jan 01 2026"
7979
When the Changed Event is sent for processing with "valid" api key
80-
Then DoS is open from "10:00" until "16:00" on "Jan 01 2025"
80+
Then DoS is open from "10:00" until "16:00" on "Jan 01 2026"
8181
And the "service-sync" lambda does not show "report_key" with value "BLANK_STANDARD_OPENINGS"
8282

8383
@complete @opening_times

0 commit comments

Comments
 (0)