Commit graph

21 commits

Author SHA1 Message Date
Anton Khorev
e837727d95 Test Last-Modified header of api show element responses 2025-02-05 20:22:16 +03:00
Anton Khorev
cc2677ff24 Split api way show test 2025-02-05 20:22:16 +03:00
Anton Khorev
9ef7f3a2e7 Move api element show and full tests 2025-02-05 20:22:16 +03:00
Anton Khorev
35fc840b41 Make api show/update/destroy way actions resourceful 2025-02-05 20:22:16 +03:00
Anton Khorev
2ad75d72af Make api create way path resourceful 2025-02-02 12:17:47 +03:00
Anton Khorev
1d04b69e86 Move api element index tests up 2025-02-02 12:17:47 +03:00
Anton Khorev
35d5276587 Make api element index paths resourceful 2025-02-02 12:17:47 +03:00
Tom Hughes
973d62a25e Drop support for basic authentication 2024-09-02 19:00:57 +01:00
Anton Khorev
ba2eb52054 Simplify element show paths in api tests 2024-04-02 14:53:17 +03:00
Anton Khorev
352e5de4b9 Simplify element multi fetch paths in api tests 2024-04-02 14:36:29 +03:00
Tom Hughes
7e974b8662 Add tests for API change rate limits 2023-11-02 08:59:57 +00:00
Tom Hughes
e8af4b85bf Fix new rubocop warnings 2023-09-26 18:42:57 +01:00
Andy Allan
da2277505f Ensure that test utility methods are marked as private
This allows us to enable the check for test method names.
2020-10-28 11:49:01 +01:00
Tom Hughes
ea59d95f4a Fix some new rubocop warnings 2020-08-06 22:27:30 +01:00
Tom Hughes
2d3972249c Fix some rubocop todos 2020-08-02 19:38:58 +01:00
Andy Allan
b23d6a5445 Refator way_full test to avoid relying on non-existant fixtures
Refs #2614
2020-07-22 16:33:33 +02:00
Andy Allan
f84980f183 More controller test refactoring 2020-05-06 16:51:04 +02:00
Tom Hughes
7a1615bc55 Fix rubocop-minitest warnings 2020-04-15 19:07:13 +01:00
mmd-osm
91b31f03de Added unit tests 2020-01-08 19:57:21 +01:00
Andy Allan
2b1bac1279 Move Way.to_xml and to_xml_node out of the model and into tests
This code is only used in the tests. Refs #2433
2019-11-20 15:31:47 +01:00
Andy Allan
b38343e5bd Move node/way/relation/old_* controllers into the api namespace 2019-02-28 17:12:28 +01:00