[openstreetmap/openstreetmap-website] Simplify creation of bearer authorization headers (PR #5155)
Tom Hughes
notifications at github.com
Tue Sep 3 17:57:01 UTC 2024
Uses the new features added to the bearer_authorization_header while dropping basic authentication support to simplify the creation of bearer authorization headers for API tests.
This is an alternative to #5154 that goes further in simplifying things.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5155
-- Commit Summary --
* Simplify creation of bearer authorization headers
-- File Changes --
M test/controllers/api/changeset_comments_controller_test.rb (6)
M test/controllers/api/messages_controller_test.rb (78)
M test/controllers/api/old_nodes_controller_test.rb (19)
M test/controllers/api/old_relations_controller_test.rb (19)
M test/controllers/api/old_ways_controller_test.rb (19)
M test/controllers/api/permissions_controller_test.rb (6)
M test/controllers/api/user_preferences_controller_test.rb (8)
M test/controllers/api/users_controller_test.rb (69)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5155.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5155.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5155
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5155 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240903/6c26830f/attachment.htm>
More information about the rails-dev
mailing list