[openstreetmap/openstreetmap-website] Add system test with osm website oauth app registration (PR #4436)
Anton Khorev
notifications at github.com
Mon Dec 25 16:14:48 UTC 2023
Let's suppose you want to have a system test that checks if adding comments to notes work. This commenting is done via the api. For the api to work you have to [register the website oauth app](https://github.com/openstreetmap/openstreetmap-website/blob/master/CONFIGURE.md#oauth-consumer-keys). Here I'm adding a test superclass that does this registration in `before_setup`.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4436
-- Commit Summary --
* Add system test with osm website oauth app registration
-- File Changes --
M test/system/note_comments_test.rb (20)
A test/website_oauth_application_system_test_case.rb (15)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4436.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4436.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4436
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4436 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231225/7e24d59e/attachment.htm>
More information about the rails-dev
mailing list