MediaProxyCacheControllerTest: Fix unstable tests.
authorLain Soykaf <lain@lain.com>
Sun, 14 Nov 2021 10:45:38 +0000 (11:45 +0100)
committerLain Soykaf <lain@lain.com>
Sun, 14 Nov 2021 10:45:38 +0000 (11:45 +0100)
commit871936b3ca800809c616147bc149c4ef4effed69
tree6c5ce78c964663aed4c2dbe5949673357ed820fe
parent2dea4a8c041e48bbae2ec6f201b4c0e95b8131ae
MediaProxyCacheControllerTest: Fix unstable tests.

Cachex order isn't stable, so we can not depend on the order in
tests. This adds some sorting to make the tests stable.
test/pleroma/web/admin_api/controllers/media_proxy_cache_controller_test.exs