Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove integration test for the UR banner #3480

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Conversation

hannako
Copy link
Contributor

@hannako hannako commented Dec 11, 2024

This test will fail once we pass the expiration date of the banner in the gem.
We could add a setup and tear down to set the time to be within the banner
start and end date, but this will only result in a passing test whilst the config remains
in the gem. If someone removes the config from the gem (clearing up after the banner has expired)
and forgets to remove this test, then deploys of this application would be blocked.
This seems bad, and somewhat defeats the purpose of having the code in a gem.

@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3480 December 11, 2024 14:25 Inactive
This test will fail once we pass the expiration date of the banner in the gem.
We could add a setup and tear down to set the time to be within the banner
start and end date, but this will only result in apassing test whilst the config remains
in the gem.  If someone removes the config from the gem (clearing up after the banner has expired)
and forgets to remove this test, then deploys of this application would be blocked.
This seems bad, and somewhat defeats the purpose of having the code in a gem.
@hannako hannako force-pushed the remove_integration_tests branch from a90c9ce to ab8a1f6 Compare December 11, 2024 14:27
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3480 December 11, 2024 14:28 Inactive
@hannako hannako requested a review from KludgeKML December 11, 2024 14:28
Copy link
Contributor

@unoduetre unoduetre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@hannako hannako merged commit 8da39c3 into main Dec 11, 2024
11 checks passed
@hannako hannako deleted the remove_integration_tests branch December 11, 2024 15:11
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.

3 participants