pleroma/test
Mark Felder 7d5ef81737 Fix /api/v2/media returning the wrong status code for media processed synchronously
The API should return a 202 only if data cannot be returned yet and a followup GET /api/v1/media/:id should be called to retrieve it. This is something Mastodon does when it needs to transcode large media files. It does not apply to Pleroma and causes apps to waste an API call when posting a status which causes apps to appear to hang on higher latency environments, such as on mobile networks.

https://docs.joinmastodon.org/methods/media/#v2
2024-10-27 21:52:42 -04:00
..
config Load an emoji.txt specific to the test env 2021-02-03 16:40:59 -06:00
credo/check/consistency Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
fixtures Simplify test, move data into a json fixture 2024-08-28 16:31:59 -04:00
instance_static support for special chars in pack name 2020-09-24 09:12:37 +03:00
mix Revert "Custom mix task to retry failed tests once in CI pipeline" 2024-08-13 15:49:04 -04:00
pleroma Fix /api/v2/media returning the wrong status code for media processed synchronously 2024-10-27 21:52:42 -04:00
support Test the final refresh behavior of a PollWorker poll_end job 2024-10-09 20:15:00 -04:00
test_helper.exs Enable erratic tests 2024-06-20 19:43:39 +00:00