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

Address deprecation warning from minitest #3169

Merged
merged 1 commit into from May 22, 2024

Conversation

beccapearce
Copy link
Contributor

Addressing the deprecation warning:

DEPRECATED: Use assert_nil if expecting nil. This will fail in Minitest 6.

Using assert_equal nil will be deprecated in minitest 6. We should address this deprecation so upgrading will be easier when the time comes, as well as to keep our test outputs nice and clear.

Using assert_equal nil will be deprecated in minitest 6. We should
address this deprecation so upgrading will be easier when the time
comes, as well as to keep our test outputs nice and clear.

Deprecation warning:
DEPRECATED: Use assert_nil if expecting nil. This will fail in Minitest 6.
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3169 April 24, 2024 11:03 Inactive
@beccapearce beccapearce marked this pull request as ready for review April 25, 2024 06:54
Copy link
Contributor

@CodeSonia CodeSonia left a comment

Choose a reason for hiding this comment

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

LGTM 🙌

@beccapearce beccapearce merged commit c6f757b into main May 22, 2024
16 checks passed
@beccapearce beccapearce deleted the address-minitest-deprecation branch May 22, 2024 08:19
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.

None yet

3 participants