Skip to content

fix: Vulnerability activeTime.startTime, not startDate - #28

Open
mackenzie-grimes-noaa wants to merge 7 commits into
mainfrom
fix/vulnerability-start-time
Open

fix: Vulnerability activeTime.startTime, not startDate#28
mackenzie-grimes-noaa wants to merge 7 commits into
mainfrom
fix/vulnerability-start-time

Conversation

@mackenzie-grimes-noaa

Copy link
Copy Markdown
Contributor

Linear Issue

N/A

Changes

  • fix: expect Vulnerabilities to have activeTime.startDate and activeTime.endDate (can be null). Reject any Profile jsons loaded from disk that are missing this

Explanation

Typo in the expected format of Vulnerabilities objects based on the API spec of the real NWS Connect Vulnerabilities API.

This fixes all unit tests and default "GSL Test *" regression test objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant