Skip to content

Remove deprecated GPO routes#10495

Merged
aduth merged 1 commit intomainfrom
aduth-rm-temp-gpo-routes
Apr 24, 2024
Merged

Remove deprecated GPO routes#10495
aduth merged 1 commit intomainfrom
aduth-rm-temp-gpo-routes

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Apr 24, 2024

🛠 Summary of changes

Removes temporary GPO routes which were added for transition to new routes in #9184.

Related Slack discussion: #9184 (comment)

Verified production.log includes no requests for filter path = '/verify/usps' in the past two weeks.

📜 Testing Plan

Verify route removed:

  1. Visit http://localhost:3000/verify/usps
  2. See 404

Verify tests pass:

  1. rspec spec/routing/gpo_verification_routing_spec.rb

changelog: Internal, Code Quality, Remove deprecated routes
@aduth aduth requested a review from matthinz April 24, 2024 14:08
end

create_routes.each do |route|
expect(post: route).to be_routable
Copy link
Contributor Author

Choose a reason for hiding this comment

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

be_routable is true even if the route directs to a 404, so this wasn't really testing anything before. We don't have POST routes for these paths.

@aduth aduth merged commit 3b2f807 into main Apr 24, 2024
@aduth aduth deleted the aduth-rm-temp-gpo-routes branch April 24, 2024 18:04
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.

2 participants