dorset-ics / healthcare-data-exchange

A FHIR based integration and interoperability platform to support a regional healthcare network.
https://dorset-ics.github.io/healthcare-data-exchange/
MIT License
6 stars 6 forks source link

fix: use Utc in OdsServiceTests #10

Closed liammoat closed 3 months ago

liammoat commented 3 months ago

In OdsServiceTests we check to see if records have been created since the test execution time.

However, this was done using local time. The FHIR server uses UTC for the updated date. As such, in local environements using BST the tests were failing.

This PR updates the test to use UTC.

gaurarpit commented 3 months ago

will wait for the pipelines to build.

gaurarpit commented 3 months ago

build passed, merging it in.