[#647] tests for web push
authorMaksim <parallel588@gmail.com>
Wed, 6 Mar 2019 13:20:12 +0000 (13:20 +0000)
committerkaniini <nenolod@gmail.com>
Wed, 6 Mar 2019 13:20:12 +0000 (13:20 +0000)
commitbc7570c282ea45d2d0d4b44c4a07b5d0bda2fea8
tree949a440fd0cbeda1a37ecd3022d891345322de64
parent4cbaab2181e7dd5e471b78481997fa4ad049e192
[#647] tests for web push
14 files changed:
config/test.exs
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
lib/pleroma/web/mastodon_api/subscription_controller.ex [new file with mode: 0644]
lib/pleroma/web/mastodon_api/views/push_subscription_view.ex
lib/pleroma/web/push/impl.ex [new file with mode: 0644]
lib/pleroma/web/push/push.ex
lib/pleroma/web/push/subscription.ex
lib/pleroma/web/router.ex
test/support/factory.ex
test/support/web_push_http_client_mock.ex [new file with mode: 0644]
test/web/mastodon_api/push_subscription_view_test.exs [new file with mode: 0644]
test/web/mastodon_api/subscription_controller_test.exs [new file with mode: 0644]
test/web/push/impl_test.exs [new file with mode: 0644]
test/web/push/push_test.exs [deleted file]