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

Chore: Address transaction type todo #7571

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

colinbruce
Copy link
Contributor

@colinbruce colinbruce commented Jan 10, 2025

What

While removing the citizen values and update tests to stop referring to them, I discovered that the only place referring to the citizen values were the user_transaction_helper specs.

When I investigated the helper, I could find no references to it's methods in the codebase.

Therefore I have removed the user_transaction_helper entirely and removed the citizen section of the locale file. The citizen path was phased out many years ago and they were left in place because of the now unused helper.

Checklist

Before you ask people to review this PR:

  • Tests and rubocop should be passing: bundle exec rake
  • Github should not be reporting conflicts; you should have recently run git rebase main.
  • The standards in the Git Workflow document on Confluence should be followed
  • There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
  • The PR description should say what you changed and why, with a link to the JIRA story.
  • You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
  • You should have checked that the commit messages say why the change was made.

Remove the citizen values and update tests to stop referring
to them.  They were phased out many years ago and were left
in place
I cannot find a reference to eother of the methods in this
class being called, anywhere in the code.  This is a
speculative commit to see if that is a false positive and
tests start to fail
@colinbruce colinbruce marked this pull request as ready for review January 10, 2025 11:18
@colinbruce colinbruce requested a review from a team as a code owner January 10, 2025 11:18
@colinbruce colinbruce added the ready for review Please review label Jan 10, 2025
Copy link
Contributor

@jsugarman jsugarman left a comment

Choose a reason for hiding this comment

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

🔥 LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review Please review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants