Extract MastodonAPIController's list actions into MastodonAPI.ListController; Add...
authorEgor Kislitsyn <egor@kislitsyn.com>
Mon, 26 Aug 2019 12:37:54 +0000 (19:37 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Mon, 26 Aug 2019 12:37:54 +0000 (19:37 +0700)
commit30510ade0e2f813413c5599245adc4dae8c7ffd8
treeef930f5ed5fd9871f863d158d263497259b98eac
parent4d82bc8b0b5a0b8b584b43330f902f8dc9637d3d
Extract MastodonAPIController's list actions into MastodonAPI.ListController; Add more tests
lib/pleroma/web/mastodon_api/controllers/list_controller.ex [new file with mode: 0644]
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
lib/pleroma/web/mastodon_api/views/list_view.ex
lib/pleroma/web/router.ex
test/web/mastodon_api/controllers/list_controller_test.exs [new file with mode: 0644]
test/web/mastodon_api/mastodon_api_controller_test.exs
test/web/mastodon_api/views/list_view_test.exs [moved from test/web/mastodon_api/list_view_test.exs with 56% similarity]