[openstreetmap/openstreetmap-website] Various API changesets/elements controller test updates (PR #6176)
Anton Khorev
notifications at github.com
Thu Jul 10 14:34:57 UTC 2025
A number of changes to api changesets, nodes, ways and relations controllers going towards #6170. I split the existing tests there to make them independent. This PR contains changes prior to the splits.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6176
-- Commit Summary --
* Remove redundant changeset create by private user test
* Test that changeset create action creates one changeset
* Actually test if changeset creator was subscribed
* Use "changeset" to refer to changesets consistently
* Remove incorrect node update test
* Remove unnecessary tags from api elements test xml
* Replace multiline strings with heredocs api elements test xml
-- File Changes --
M test/controllers/api/changesets_controller_test.rb (46)
M test/controllers/api/nodes_controller_test.rb (26)
M test/controllers/api/relations_controller_test.rb (176)
M test/controllers/api/ways_controller_test.rb (178)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6176.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6176.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6176
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6176 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250710/81a5989b/attachment-0001.htm>
More information about the rails-dev
mailing list