Mock HTTPoison in testing.
authorRoger Braun <roger@rogerbraun.net>
Fri, 5 May 2017 12:16:54 +0000 (14:16 +0200)
committerRoger Braun <roger@rogerbraun.net>
Fri, 5 May 2017 12:16:54 +0000 (14:16 +0200)
commitd982f04a652ee95110ebd7d6dfc1ebdaa3c15d6f
tree201b126e7e33bdab789e3f8d758becc63f2b01db
parent7269c51f3a4409110bc61faada08e35ce1b4d030
Mock HTTPoison in testing.
19 files changed:
config/config.exs
config/test.exs
lib/pleroma/web/ostatus/ostatus.ex
lib/pleroma/web/salmon/salmon.ex
lib/pleroma/web/web_finger/web_finger.ex
lib/pleroma/web/websub/websub.ex
test/fixtures/httpoison_mock/http___gs.example.org_4040_index.php_user_1.xml [new file with mode: 0644]
test/fixtures/httpoison_mock/http__gs.example.org_index.php_api_statuses_user_timeline_1.atom.xml [new file with mode: 0644]
test/fixtures/httpoison_mock/https___mastodon.social_users_lambadalambda.atom [new file with mode: 0644]
test/fixtures/httpoison_mock/https___mastodon.social_users_lambadalambda.xml [new file with mode: 0644]
test/fixtures/httpoison_mock/https___pleroma.soykaf.com_users_lain.xml [new file with mode: 0644]
test/fixtures/httpoison_mock/https___pleroma.soykaf.com_users_lain_feed.atom.xml [new file with mode: 0644]
test/fixtures/httpoison_mock/https___social.heldscal.la_api_statuses_user_timeline_23211.atom.xml [new file with mode: 0644]
test/fixtures/httpoison_mock/https___social.heldscal.la_api_statuses_user_timeline_29191.atom.xml [new file with mode: 0644]
test/fixtures/httpoison_mock/https___social.heldscal.la_user_23211.xml [new file with mode: 0644]
test/fixtures/httpoison_mock/https___social.heldscal.la_user_29191.xml [new file with mode: 0644]
test/fixtures/httpoison_mock/nonexistant@social.heldscal.la.xml [new file with mode: 0644]
test/fixtures/httpoison_mock/shp@social.heldscal.la.xml [new file with mode: 0644]
test/support/httpoison_mock.ex [new file with mode: 0644]