tests consistency
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 23 Jun 2020 15:16:47 +0000 (18:16 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 13 Oct 2020 13:35:09 +0000 (16:35 +0300)
258 files changed:
test/fixtures/modules/runtime_module.ex
test/pleroma/activity/ir/topics_test.exs [moved from test/activity/ir/topics_test.exs with 100% similarity]
test/pleroma/activity_test.exs [moved from test/activity_test.exs with 100% similarity]
test/pleroma/bbs/handler_test.exs [moved from test/bbs/handler_test.exs with 100% similarity]
test/pleroma/bookmark_test.exs [moved from test/bookmark_test.exs with 100% similarity]
test/pleroma/captcha_test.exs [moved from test/captcha_test.exs with 100% similarity]
test/pleroma/chat/message_reference_test.exs [moved from test/chat/message_reference_test.exs with 100% similarity]
test/pleroma/chat_test.exs [moved from test/chat_test.exs with 100% similarity]
test/pleroma/config/deprecation_warnings_test.exs [moved from test/config/deprecation_warnings_test.exs with 100% similarity]
test/pleroma/config/holder_test.exs [moved from test/config/holder_test.exs with 100% similarity]
test/pleroma/config/loader_test.exs [moved from test/config/loader_test.exs with 100% similarity]
test/pleroma/config/transfer_task_test.exs [moved from test/config/transfer_task_test.exs with 100% similarity]
test/pleroma/config_db_test.exs [moved from test/config/config_db_test.exs with 100% similarity]
test/pleroma/config_test.exs [moved from test/config_test.exs with 100% similarity]
test/pleroma/conversation/participation_test.exs [moved from test/conversation/participation_test.exs with 100% similarity]
test/pleroma/conversation_test.exs [moved from test/conversation_test.exs with 100% similarity]
test/pleroma/docs/generator_test.exs [moved from test/docs/generator_test.exs with 100% similarity]
test/pleroma/earmark_renderer_test.exs [moved from test/earmark_renderer_test.exs with 100% similarity]
test/pleroma/ecto_type/activity_pub/object_validators/date_time_test.exs [moved from test/web/activity_pub/object_validators/types/date_time_test.exs with 92% similarity]
test/pleroma/ecto_type/activity_pub/object_validators/object_id_test.exs [moved from test/web/activity_pub/object_validators/types/object_id_test.exs with 92% similarity]
test/pleroma/ecto_type/activity_pub/object_validators/recipients_test.exs [moved from test/web/activity_pub/object_validators/types/recipients_test.exs with 93% similarity]
test/pleroma/ecto_type/activity_pub/object_validators/safe_text_test.exs [moved from test/web/activity_pub/object_validators/types/safe_text_test.exs with 92% similarity]
test/pleroma/emails/admin_email_test.exs [moved from test/emails/admin_email_test.exs with 100% similarity]
test/pleroma/emails/mailer_test.exs [moved from test/emails/mailer_test.exs with 100% similarity]
test/pleroma/emails/user_email_test.exs [moved from test/emails/user_email_test.exs with 100% similarity]
test/pleroma/emoji/formatter_test.exs [moved from test/emoji/formatter_test.exs with 100% similarity]
test/pleroma/emoji/loader_test.exs [moved from test/emoji/loader_test.exs with 100% similarity]
test/pleroma/emoji_test.exs [moved from test/emoji_test.exs with 100% similarity]
test/pleroma/filter_test.exs [moved from test/filter_test.exs with 100% similarity]
test/pleroma/following_relationship_test.exs [moved from test/following_relationship_test.exs with 100% similarity]
test/pleroma/formatter_test.exs [moved from test/formatter_test.exs with 100% similarity]
test/pleroma/healthcheck_test.exs [moved from test/healthcheck_test.exs with 100% similarity]
test/pleroma/html_test.exs [moved from test/html_test.exs with 100% similarity]
test/pleroma/http/adapter_helper/gun_test.exs [moved from test/http/adapter_helper/gun_test.exs with 100% similarity]
test/pleroma/http/adapter_helper/hackney_test.exs [moved from test/http/adapter_helper/hackney_test.exs with 100% similarity]
test/pleroma/http/adapter_helper_test.exs [moved from test/http/adapter_helper_test.exs with 100% similarity]
test/pleroma/http/request_builder_test.exs [moved from test/http/request_builder_test.exs with 100% similarity]
test/pleroma/http_test.exs [moved from test/http_test.exs with 100% similarity]
test/pleroma/instances/instance_test.exs [moved from test/web/instances/instance_test.exs with 100% similarity]
test/pleroma/instances_test.exs [moved from test/web/instances/instances_test.exs with 100% similarity]
test/pleroma/integration/federation_test.exs [moved from test/federation/federation_test.exs with 100% similarity]
test/pleroma/integration/mastodon_websocket_test.exs [moved from test/integration/mastodon_websocket_test.exs with 100% similarity]
test/pleroma/job_queue_monitor_test.exs [moved from test/job_queue_monitor_test.exs with 100% similarity]
test/pleroma/keys_test.exs [moved from test/keys_test.exs with 100% similarity]
test/pleroma/list_test.exs [moved from test/list_test.exs with 100% similarity]
test/pleroma/marker_test.exs [moved from test/marker_test.exs with 100% similarity]
test/pleroma/mfa/backup_codes_test.exs [moved from test/mfa/backup_codes_test.exs with 100% similarity]
test/pleroma/mfa/totp_test.exs [moved from test/mfa/totp_test.exs with 100% similarity]
test/pleroma/mfa_test.exs [moved from test/mfa_test.exs with 100% similarity]
test/pleroma/migration_helper/notification_backfill_test.exs [moved from test/migration_helper/notification_backfill_test.exs with 100% similarity]
test/pleroma/moderation_log_test.exs [moved from test/moderation_log_test.exs with 100% similarity]
test/pleroma/notification_test.exs [moved from test/notification_test.exs with 100% similarity]
test/pleroma/object/containment_test.exs [moved from test/object/containment_test.exs with 100% similarity]
test/pleroma/object/fetcher_test.exs [moved from test/object/fetcher_test.exs with 100% similarity]
test/pleroma/object_test.exs [moved from test/object_test.exs with 100% similarity]
test/pleroma/otp_version_test.exs [moved from test/otp_version_test.exs with 100% similarity]
test/pleroma/pagination_test.exs [moved from test/pagination_test.exs with 100% similarity]
test/pleroma/registration_test.exs [moved from test/registration_test.exs with 100% similarity]
test/pleroma/repo_test.exs [moved from test/repo_test.exs with 100% similarity]
test/pleroma/reverse_proxy_test.exs [moved from test/reverse_proxy/reverse_proxy_test.exs with 100% similarity]
test/pleroma/runtime_test.exs [moved from test/runtime_test.exs with 69% similarity]
test/pleroma/safe_jsonb_set_test.exs [moved from test/safe_jsonb_set_test.exs with 100% similarity]
test/pleroma/scheduled_activity_test.exs [moved from test/scheduled_activity_test.exs with 100% similarity]
test/pleroma/signature_test.exs [moved from test/signature_test.exs with 100% similarity]
test/pleroma/stats_test.exs [moved from test/stats_test.exs with 100% similarity]
test/pleroma/upload/filter/anonymize_filename_test.exs [moved from test/upload/filter/anonymize_filename_test.exs with 100% similarity]
test/pleroma/upload/filter/dedupe_test.exs [moved from test/upload/filter/dedupe_test.exs with 100% similarity]
test/pleroma/upload/filter/mogrifun_test.exs [moved from test/upload/filter/mogrifun_test.exs with 100% similarity]
test/pleroma/upload/filter/mogrify_test.exs [moved from test/upload/filter/mogrify_test.exs with 100% similarity]
test/pleroma/upload/filter_test.exs [moved from test/upload/filter_test.exs with 100% similarity]
test/pleroma/upload_test.exs [moved from test/upload_test.exs with 100% similarity]
test/pleroma/uploaders/local_test.exs [moved from test/uploaders/local_test.exs with 100% similarity]
test/pleroma/uploaders/s3_test.exs [moved from test/uploaders/s3_test.exs with 100% similarity]
test/pleroma/user/notification_setting_test.exs [moved from test/user/notification_setting_test.exs with 100% similarity]
test/pleroma/user_invite_token_test.exs [moved from test/user_invite_token_test.exs with 100% similarity]
test/pleroma/user_relationship_test.exs [moved from test/user_relationship_test.exs with 100% similarity]
test/pleroma/user_search_test.exs [moved from test/user_search_test.exs with 100% similarity]
test/pleroma/user_test.exs [moved from test/user_test.exs with 100% similarity]
test/pleroma/web/activity_pub/activity_pub_controller_test.exs [moved from test/web/activity_pub/activity_pub_controller_test.exs with 100% similarity]
test/pleroma/web/activity_pub/activity_pub_test.exs [moved from test/web/activity_pub/activity_pub_test.exs with 100% similarity]
test/pleroma/web/activity_pub/force_bot_unlisted_policy_test.exs [moved from test/web/activity_pub/mrf/force_bot_unlisted_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/activity_expiration_policy_test.exs [moved from test/web/activity_pub/mrf/activity_expiration_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/anti_followbot_policy_test.exs [moved from test/web/activity_pub/mrf/anti_followbot_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/anti_link_spam_policy_test.exs [moved from test/web/activity_pub/mrf/anti_link_spam_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/ensure_re_prepended_test.exs [moved from test/web/activity_pub/mrf/ensure_re_prepended_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/hellthread_policy_test.exs [moved from test/web/activity_pub/mrf/hellthread_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/keyword_policy_test.exs [moved from test/web/activity_pub/mrf/keyword_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/media_proxy_warming_policy_test.exs [moved from test/web/activity_pub/mrf/mediaproxy_warming_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/mention_policy_test.exs [moved from test/web/activity_pub/mrf/mention_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/no_placeholder_text_policy_test.exs [moved from test/web/activity_pub/mrf/no_placeholder_text_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/normalize_markup_test.exs [moved from test/web/activity_pub/mrf/normalize_markup_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/object_age_policy_test.exs [moved from test/web/activity_pub/mrf/object_age_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/reject_non_public_test.exs [moved from test/web/activity_pub/mrf/reject_non_public_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/simple_policy_test.exs [moved from test/web/activity_pub/mrf/simple_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/steal_emoji_policy_test.exs [moved from test/web/activity_pub/mrf/steal_emoji_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/subchain_policy_test.exs [moved from test/web/activity_pub/mrf/subchain_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/tag_policy_test.exs [moved from test/web/activity_pub/mrf/tag_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/user_allow_list_policy_test.exs [moved from test/web/activity_pub/mrf/user_allowlist_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf/vocabulary_policy_test.exs [moved from test/web/activity_pub/mrf/vocabulary_policy_test.exs with 100% similarity]
test/pleroma/web/activity_pub/mrf_test.exs [moved from test/web/activity_pub/mrf/mrf_test.exs with 100% similarity]
test/pleroma/web/activity_pub/pipeline_test.exs [moved from test/web/activity_pub/pipeline_test.exs with 100% similarity]
test/pleroma/web/activity_pub/publisher_test.exs [moved from test/web/activity_pub/publisher_test.exs with 100% similarity]
test/pleroma/web/activity_pub/relay_test.exs [moved from test/web/activity_pub/relay_test.exs with 100% similarity]
test/pleroma/web/activity_pub/side_effects_test.exs [moved from test/web/activity_pub/side_effects_test.exs with 100% similarity]
test/pleroma/web/activity_pub/transmogrifier/announce_handling_test.exs [moved from test/web/activity_pub/transmogrifier/announce_handling_test.exs with 100% similarity]
test/pleroma/web/activity_pub/transmogrifier/chat_message_test.exs [moved from test/web/activity_pub/transmogrifier/chat_message_test.exs with 100% similarity]
test/pleroma/web/activity_pub/transmogrifier/delete_handling_test.exs [moved from test/web/activity_pub/transmogrifier/delete_handling_test.exs with 100% similarity]
test/pleroma/web/activity_pub/transmogrifier/emoji_react_handling_test.exs [moved from test/web/activity_pub/transmogrifier/emoji_react_handling_test.exs with 100% similarity]
test/pleroma/web/activity_pub/transmogrifier/follow_handling_test.exs [moved from test/web/activity_pub/transmogrifier/follow_handling_test.exs with 100% similarity]
test/pleroma/web/activity_pub/transmogrifier/like_handling_test.exs [moved from test/web/activity_pub/transmogrifier/like_handling_test.exs with 100% similarity]
test/pleroma/web/activity_pub/transmogrifier/undo_handling_test.exs [moved from test/web/activity_pub/transmogrifier/undo_handling_test.exs with 100% similarity]
test/pleroma/web/activity_pub/transmogrifier_test.exs [moved from test/web/activity_pub/transmogrifier_test.exs with 100% similarity]
test/pleroma/web/activity_pub/utils_test.exs [moved from test/web/activity_pub/utils_test.exs with 100% similarity]
test/pleroma/web/activity_pub/views/object_view_test.exs [moved from test/web/activity_pub/views/object_view_test.exs with 100% similarity]
test/pleroma/web/activity_pub/views/user_view_test.exs [moved from test/web/activity_pub/views/user_view_test.exs with 100% similarity]
test/pleroma/web/activity_pub/visibility_test.exs [moved from test/web/activity_pub/visibilty_test.exs with 100% similarity]
test/pleroma/web/admin_api/controllers/admin_api_controller_test.exs [moved from test/web/admin_api/controllers/admin_api_controller_test.exs with 100% similarity]
test/pleroma/web/admin_api/controllers/config_controller_test.exs [moved from test/web/admin_api/controllers/config_controller_test.exs with 100% similarity]
test/pleroma/web/admin_api/controllers/invite_controller_test.exs [moved from test/web/admin_api/controllers/invite_controller_test.exs with 100% similarity]
test/pleroma/web/admin_api/controllers/media_proxy_cache_controller_test.exs [moved from test/web/admin_api/controllers/media_proxy_cache_controller_test.exs with 100% similarity]
test/pleroma/web/admin_api/controllers/oauth_app_controller_test.exs [moved from test/web/admin_api/controllers/oauth_app_controller_test.exs with 100% similarity]
test/pleroma/web/admin_api/controllers/relay_controller_test.exs [moved from test/web/admin_api/controllers/relay_controller_test.exs with 100% similarity]
test/pleroma/web/admin_api/controllers/report_controller_test.exs [moved from test/web/admin_api/controllers/report_controller_test.exs with 100% similarity]
test/pleroma/web/admin_api/controllers/status_controller_test.exs [moved from test/web/admin_api/controllers/status_controller_test.exs with 100% similarity]
test/pleroma/web/admin_api/search_test.exs [moved from test/web/admin_api/search_test.exs with 100% similarity]
test/pleroma/web/admin_api/views/report_view_test.exs [moved from test/web/admin_api/views/report_view_test.exs with 100% similarity]
test/pleroma/web/api_spec/schema_examples_test.exs [moved from test/web/api_spec/schema_examples_test.exs with 100% similarity]
test/pleroma/web/auth/auth_controller_test.exs [moved from test/web/auth/auth_test_controller_test.exs with 99% similarity]
test/pleroma/web/auth/authenticator_test.exs [moved from test/web/auth/authenticator_test.exs with 100% similarity]
test/pleroma/web/auth/basic_auth_test.exs [moved from test/web/auth/basic_auth_test.exs with 100% similarity]
test/pleroma/web/auth/pleroma_authenticator_test.exs [moved from test/web/auth/pleroma_authenticator_test.exs with 100% similarity]
test/pleroma/web/auth/totp_authenticator_test.exs [moved from test/web/auth/totp_authenticator_test.exs with 100% similarity]
test/pleroma/web/chat_channel_test.exs [moved from test/web/chat_channel_test.exs with 100% similarity]
test/pleroma/web/common_api/utils_test.exs [moved from test/web/common_api/common_api_utils_test.exs with 100% similarity]
test/pleroma/web/common_api_test.exs [moved from test/web/common_api/common_api_test.exs with 100% similarity]
test/pleroma/web/fallback_test.exs [moved from test/web/fallback_test.exs with 100% similarity]
test/pleroma/web/federator_test.exs [moved from test/web/federator_test.exs with 100% similarity]
test/pleroma/web/feed/tag_controller_test.exs [moved from test/web/feed/tag_controller_test.exs with 100% similarity]
test/pleroma/web/feed/user_controller_test.exs [moved from test/web/feed/user_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/account_controller_test.exs [moved from test/web/mastodon_api/controllers/account_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/app_controller_test.exs [moved from test/web/mastodon_api/controllers/app_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/auth_controller_test.exs [moved from test/web/mastodon_api/controllers/auth_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/conversation_controller_test.exs [moved from test/web/mastodon_api/controllers/conversation_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/custom_emoji_controller_test.exs [moved from test/web/mastodon_api/controllers/custom_emoji_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/domain_block_controller_test.exs [moved from test/web/mastodon_api/controllers/domain_block_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/filter_controller_test.exs [moved from test/web/mastodon_api/controllers/filter_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/follow_request_controller_test.exs [moved from test/web/mastodon_api/controllers/follow_request_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/instance_controller_test.exs [moved from test/web/mastodon_api/controllers/instance_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/list_controller_test.exs [moved from test/web/mastodon_api/controllers/list_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/marker_controller_test.exs [moved from test/web/mastodon_api/controllers/marker_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/media_controller_test.exs [moved from test/web/mastodon_api/controllers/media_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/notification_controller_test.exs [moved from test/web/mastodon_api/controllers/notification_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/poll_controller_test.exs [moved from test/web/mastodon_api/controllers/poll_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/report_controller_test.exs [moved from test/web/mastodon_api/controllers/report_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/scheduled_activity_controller_test.exs [moved from test/web/mastodon_api/controllers/scheduled_activity_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/search_controller_test.exs [moved from test/web/mastodon_api/controllers/search_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/status_controller_test.exs [moved from test/web/mastodon_api/controllers/status_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/subscription_controller_test.exs [moved from test/web/mastodon_api/controllers/subscription_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/suggestion_controller_test.exs [moved from test/web/mastodon_api/controllers/suggestion_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/controllers/timeline_controller_test.exs [moved from test/web/mastodon_api/controllers/timeline_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/masto_fe_controller_test.exs [moved from test/web/masto_fe_controller_test.exs with 97% similarity]
test/pleroma/web/mastodon_api/mastodon_api_controller_test.exs [moved from test/web/mastodon_api/mastodon_api_controller_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/mastodon_api_test.exs [moved from test/web/mastodon_api/mastodon_api_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/update_credentials_test.exs [moved from test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs with 99% similarity]
test/pleroma/web/mastodon_api/views/account_view_test.exs [moved from test/web/mastodon_api/views/account_view_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/views/conversation_view_test.exs [moved from test/web/mastodon_api/views/conversation_view_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/views/list_view_test.exs [moved from test/web/mastodon_api/views/list_view_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/views/marker_view_test.exs [moved from test/web/mastodon_api/views/marker_view_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/views/notification_view_test.exs [moved from test/web/mastodon_api/views/notification_view_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/views/poll_view_test.exs [moved from test/web/mastodon_api/views/poll_view_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/views/scheduled_activity_view_test.exs [moved from test/web/mastodon_api/views/scheduled_activity_view_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/views/status_view_test.exs [moved from test/web/mastodon_api/views/status_view_test.exs with 100% similarity]
test/pleroma/web/mastodon_api/views/subscription_view_test.exs [moved from test/web/mastodon_api/views/subscription_view_test.exs with 100% similarity]
test/pleroma/web/media_proxy/invalidation/http_test.exs [moved from test/web/media_proxy/invalidations/http_test.exs with 100% similarity]
test/pleroma/web/media_proxy/invalidation/script_test.exs [moved from test/web/media_proxy/invalidations/script_test.exs with 100% similarity]
test/pleroma/web/media_proxy/invalidation_test.exs [moved from test/web/media_proxy/invalidation_test.exs with 100% similarity]
test/pleroma/web/media_proxy/media_proxy_controller_test.exs [moved from test/web/media_proxy/media_proxy_controller_test.exs with 100% similarity]
test/pleroma/web/media_proxy_test.exs [moved from test/web/media_proxy/media_proxy_test.exs with 100% similarity]
test/pleroma/web/metadata/player_view_test.exs [moved from test/web/metadata/player_view_test.exs with 100% similarity]
test/pleroma/web/metadata/providers/feed_test.exs [moved from test/web/metadata/feed_test.exs with 100% similarity]
test/pleroma/web/metadata/providers/open_graph_test.exs [moved from test/web/metadata/opengraph_test.exs with 100% similarity]
test/pleroma/web/metadata/providers/rel_me_test.exs [moved from test/web/metadata/rel_me_test.exs with 100% similarity]
test/pleroma/web/metadata/providers/restrict_indexing_test.exs [moved from test/web/metadata/restrict_indexing_test.exs with 100% similarity]
test/pleroma/web/metadata/providers/twitter_card_test.exs [moved from test/web/metadata/twitter_card_test.exs with 100% similarity]
test/pleroma/web/metadata/utils_test.exs [moved from test/web/metadata/utils_test.exs with 100% similarity]
test/pleroma/web/metadata_test.exs [moved from test/web/metadata/metadata_test.exs with 100% similarity]
test/pleroma/web/mongoose_im_controller_test.exs [moved from test/web/mongooseim/mongoose_im_controller_test.exs with 97% similarity]
test/pleroma/web/node_info_test.exs [moved from test/web/node_info_test.exs with 100% similarity]
test/pleroma/web/o_auth/app_test.exs [moved from test/web/oauth/app_test.exs with 100% similarity]
test/pleroma/web/o_auth/authorization_test.exs [moved from test/web/oauth/authorization_test.exs with 100% similarity]
test/pleroma/web/o_auth/ldap_authorization_test.exs [moved from test/web/oauth/ldap_authorization_test.exs with 100% similarity]
test/pleroma/web/o_auth/mfa_controller_test.exs [moved from test/web/oauth/mfa_controller_test.exs with 100% similarity]
test/pleroma/web/o_auth/o_auth_controller_test.exs [moved from test/web/oauth/oauth_controller_test.exs with 100% similarity]
test/pleroma/web/o_auth/token/utils_test.exs [moved from test/web/oauth/token/utils_test.exs with 100% similarity]
test/pleroma/web/o_auth/token_test.exs [moved from test/web/oauth/token_test.exs with 100% similarity]
test/pleroma/web/o_status/o_status_controller_test.exs [moved from test/web/ostatus/ostatus_controller_test.exs with 100% similarity]
test/pleroma/web/pleroma_api/controllers/account_controller_test.exs [moved from test/web/pleroma_api/controllers/account_controller_test.exs with 100% similarity]
test/pleroma/web/pleroma_api/controllers/chat_controller_test.exs [moved from test/web/pleroma_api/controllers/chat_controller_test.exs with 100% similarity]
test/pleroma/web/pleroma_api/controllers/conversation_controller_test.exs [moved from test/web/pleroma_api/controllers/conversation_controller_test.exs with 100% similarity]
test/pleroma/web/pleroma_api/controllers/emoji_pack_controller_test.exs [moved from test/web/pleroma_api/controllers/emoji_pack_controller_test.exs with 100% similarity]
test/pleroma/web/pleroma_api/controllers/emoji_reaction_controller_test.exs [moved from test/web/pleroma_api/controllers/emoji_reaction_controller_test.exs with 100% similarity]
test/pleroma/web/pleroma_api/controllers/mascot_controller_test.exs [moved from test/web/pleroma_api/controllers/mascot_controller_test.exs with 100% similarity]
test/pleroma/web/pleroma_api/controllers/notification_controller_test.exs [moved from test/web/pleroma_api/controllers/notification_controller_test.exs with 100% similarity]
test/pleroma/web/pleroma_api/controllers/scrobble_controller_test.exs [moved from test/web/pleroma_api/controllers/scrobble_controller_test.exs with 100% similarity]
test/pleroma/web/pleroma_api/controllers/two_factor_authentication_controller_test.exs [moved from test/web/pleroma_api/controllers/two_factor_authentication_controller_test.exs with 100% similarity]
test/pleroma/web/pleroma_api/views/chat_message_reference_view_test.exs [moved from test/web/pleroma_api/views/chat/message_reference_view_test.exs with 97% similarity]
test/pleroma/web/pleroma_api/views/chat_view_test.exs [moved from test/web/pleroma_api/views/chat_view_test.exs with 100% similarity]
test/pleroma/web/pleroma_api/views/scrobble_view_test.exs [moved from test/web/pleroma_api/views/scrobble_view_test.exs with 100% similarity]
test/pleroma/web/plugs/admin_secret_authentication_plug_test.exs [moved from test/plugs/admin_secret_authentication_plug_test.exs with 96% similarity]
test/pleroma/web/plugs/authentication_plug_test.exs [moved from test/plugs/authentication_plug_test.exs with 98% similarity]
test/pleroma/web/plugs/basic_auth_decoder_plug_test.exs [moved from test/plugs/basic_auth_decoder_plug_test.exs with 94% similarity]
test/pleroma/web/plugs/cache_control_test.exs [moved from test/plugs/cache_control_test.exs with 92% similarity]
test/pleroma/web/plugs/cache_test.exs [moved from test/plugs/cache_test.exs with 99% similarity]
test/pleroma/web/plugs/ensure_authenticated_plug_test.exs [moved from test/plugs/ensure_authenticated_plug_test.exs with 98% similarity]
test/pleroma/web/plugs/ensure_public_or_authenticated_plug_test.exs [moved from test/plugs/ensure_public_or_authenticated_plug_test.exs with 94% similarity]
test/pleroma/web/plugs/ensure_user_key_plug_test.exs [moved from test/plugs/ensure_user_key_plug_test.exs with 92% similarity]
test/pleroma/web/plugs/federating_plug_test.exs [moved from test/web/plugs/federating_plug_test.exs with 93% similarity]
test/pleroma/web/plugs/http_security_plug_test.exs [moved from test/plugs/http_security_plug_test.exs with 100% similarity]
test/pleroma/web/plugs/http_signature_plug_test.exs [moved from test/plugs/http_signature_plug_test.exs with 100% similarity]
test/pleroma/web/plugs/idempotency_plug_test.exs [moved from test/plugs/idempotency_plug_test.exs with 98% similarity]
test/pleroma/web/plugs/instance_static_test.exs [moved from test/plugs/instance_static_test.exs with 97% similarity]
test/pleroma/web/plugs/legacy_authentication_plug_test.exs [moved from test/plugs/legacy_authentication_plug_test.exs with 97% similarity]
test/pleroma/web/plugs/mapped_signature_to_identity_plug_test.exs [moved from test/plugs/mapped_identity_to_signature_plug_test.exs with 100% similarity]
test/pleroma/web/plugs/o_auth_plug_test.exs [moved from test/plugs/oauth_plug_test.exs with 98% similarity]
test/pleroma/web/plugs/o_auth_scopes_plug_test.exs [moved from test/plugs/oauth_scopes_plug_test.exs with 99% similarity]
test/pleroma/web/plugs/plug_helper_test.exs [moved from test/web/plugs/plug_test.exs with 98% similarity]
test/pleroma/web/plugs/rate_limiter_test.exs [moved from test/plugs/rate_limiter_test.exs with 99% similarity]
test/pleroma/web/plugs/remote_ip_test.exs [moved from test/plugs/remote_ip_test.exs with 98% similarity]
test/pleroma/web/plugs/session_authentication_plug_test.exs [moved from test/plugs/session_authentication_plug_test.exs with 95% similarity]
test/pleroma/web/plugs/set_format_plug_test.exs [moved from test/plugs/set_format_plug_test.exs with 94% similarity]
test/pleroma/web/plugs/set_locale_plug_test.exs [moved from test/plugs/set_locale_plug_test.exs with 95% similarity]
test/pleroma/web/plugs/set_user_session_id_plug_test.exs [moved from test/plugs/set_user_session_id_plug_test.exs with 94% similarity]
test/pleroma/web/plugs/uploaded_media_plug_test.exs [moved from test/plugs/uploaded_media_plug_test.exs with 95% similarity]
test/pleroma/web/plugs/user_enabled_plug_test.exs [moved from test/plugs/user_enabled_plug_test.exs with 96% similarity]
test/pleroma/web/plugs/user_fetcher_plug_test.exs [moved from test/plugs/user_fetcher_plug_test.exs with 94% similarity]
test/pleroma/web/plugs/user_is_admin_plug_test.exs [moved from test/plugs/user_is_admin_plug_test.exs with 94% similarity]
test/pleroma/web/push/impl_test.exs [moved from test/web/push/impl_test.exs with 100% similarity]
test/pleroma/web/rel_me_test.exs [moved from test/web/rel_me_test.exs with 100% similarity]
test/pleroma/web/rich_media/helpers_test.exs [moved from test/web/rich_media/helpers_test.exs with 100% similarity]
test/pleroma/web/rich_media/parser_test.exs [moved from test/web/rich_media/parser_test.exs with 100% similarity]
test/pleroma/web/rich_media/parsers/ttl/aws_signed_url_test.exs [moved from test/web/rich_media/aws_signed_url_test.exs with 97% similarity]
test/pleroma/web/rich_media/parsers/twitter_card_test.exs [moved from test/web/rich_media/parsers/twitter_card_test.exs with 100% similarity]
test/pleroma/web/static_fe/static_fe_controller_test.exs [moved from test/web/static_fe/static_fe_controller_test.exs with 100% similarity]
test/pleroma/web/streamer_test.exs [moved from test/web/streamer/streamer_test.exs with 100% similarity]
test/pleroma/web/twitter_api/controller_test.exs [moved from test/web/twitter_api/twitter_api_controller_test.exs with 100% similarity]
test/pleroma/web/twitter_api/password_controller_test.exs [moved from test/web/twitter_api/password_controller_test.exs with 100% similarity]
test/pleroma/web/twitter_api/remote_follow_controller_test.exs [moved from test/web/twitter_api/remote_follow_controller_test.exs with 100% similarity]
test/pleroma/web/twitter_api/twitter_api_test.exs [moved from test/web/twitter_api/twitter_api_test.exs with 100% similarity]
test/pleroma/web/twitter_api/util_controller_test.exs [moved from test/web/twitter_api/util_controller_test.exs with 100% similarity]
test/pleroma/web/uploader_controller_test.exs [moved from test/web/uploader_controller_test.exs with 100% similarity]
test/pleroma/web/views/error_view_test.exs [moved from test/web/views/error_view_test.exs with 100% similarity]
test/pleroma/web/web_finger/web_finger_controller_test.exs [moved from test/web/web_finger/web_finger_controller_test.exs with 100% similarity]
test/pleroma/web/web_finger_test.exs [moved from test/web/web_finger/web_finger_test.exs with 100% similarity]
test/pleroma/workers/cron/digest_emails_worker_test.exs [moved from test/workers/cron/digest_emails_worker_test.exs with 100% similarity]
test/pleroma/workers/cron/new_users_digest_worker_test.exs [moved from test/workers/cron/new_users_digest_worker_test.exs with 100% similarity]
test/pleroma/workers/scheduled_activity_worker_test.exs [moved from test/workers/scheduled_activity_worker_test.exs with 100% similarity]
test/pleroma/xml_builder_test.exs [moved from test/xml_builder_test.exs with 100% similarity]
test/support/captcha/mock.ex [moved from test/support/captcha_mock.ex with 100% similarity]

index f11032b576a2bf7868727fcc33bbd13ba8b557bc..e348c499ec5823a6129dc4cd5ad16ef7b77180b0 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule RuntimeModule do
+defmodule Fixtures.Modules.RuntimeModule do
   @moduledoc """
   This is a dummy module to test custom runtime modules.
   """
similarity index 92%
rename from test/web/activity_pub/object_validators/types/date_time_test.exs
rename to test/pleroma/ecto_type/activity_pub/object_validators/date_time_test.exs
index 10310c801e1faa8e3de229f8e808dd0e31780a2d..8124634547b5b8071556013f81ff5dd179392056 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.ActivityPub.ObjectValidators.Types.DateTimeTest do
+defmodule Pleroma.EctoType.ActivityPub.ObjectValidators.DateTimeTest do
   alias Pleroma.EctoType.ActivityPub.ObjectValidators.DateTime
   use Pleroma.DataCase
 
similarity index 92%
rename from test/web/activity_pub/object_validators/types/object_id_test.exs
rename to test/pleroma/ecto_type/activity_pub/object_validators/object_id_test.exs
index e0ab7637944e522638ed5eb5a10b7906db7d69c2..732e2365ff91f52eaa60e8070f16aeb2fe218f1f 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.ObjectValidators.Types.ObjectIDTest do
+defmodule Pleroma.EctoType.ActivityPub.ObjectValidators.ObjectIDTest do
   alias Pleroma.EctoType.ActivityPub.ObjectValidators.ObjectID
   use Pleroma.DataCase
 
similarity index 93%
rename from test/web/activity_pub/object_validators/types/recipients_test.exs
rename to test/pleroma/ecto_type/activity_pub/object_validators/recipients_test.exs
index c09265f0d367d4e99305e30622105e2b3b7e619f..2e6a0c83d45089134d4a87e50a44e024648fa62b 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.ObjectValidators.Types.RecipientsTest do
+defmodule Pleroma.EctoType.ActivityPub.ObjectValidators.RecipientsTest do
   alias Pleroma.EctoType.ActivityPub.ObjectValidators.Recipients
   use Pleroma.DataCase
 
similarity index 92%
rename from test/web/activity_pub/object_validators/types/safe_text_test.exs
rename to test/pleroma/ecto_type/activity_pub/object_validators/safe_text_test.exs
index 9c08606f6419aed0d164108685ba21838f3482f3..7eddd2388e9f750a005781db654a8a379628dc3c 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.ActivityPub.ObjectValidators.Types.SafeTextTest do
+defmodule Pleroma.EctoType.ActivityPub.ObjectValidators.SafeTextTest do
   use Pleroma.DataCase
 
   alias Pleroma.EctoType.ActivityPub.ObjectValidators.SafeText
similarity index 100%
rename from test/mfa_test.exs
rename to test/pleroma/mfa_test.exs
similarity index 69%
rename from test/runtime_test.exs
rename to test/pleroma/runtime_test.exs
index a1a6c57cd0fd9e5c1d1ae6664c728045c95d6107..010594fcd111ee87a64c8d5dea58fcf6de7e91cd 100644 (file)
@@ -6,6 +6,7 @@ defmodule Pleroma.RuntimeTest do
   use ExUnit.Case, async: true
 
   test "it loads custom runtime modules" do
-    assert {:module, RuntimeModule} == Code.ensure_compiled(RuntimeModule)
+    assert {:module, Fixtures.Modules.RuntimeModule} ==
+             Code.ensure_compiled(Fixtures.Modules.RuntimeModule)
   end
 end
similarity index 99%
rename from test/web/auth/auth_test_controller_test.exs
rename to test/pleroma/web/auth/auth_controller_test.exs
index fed52b7f3361b9c88d1b9a71cae8609ed436690e..49855406011ee6fc2aa52706e834ece45fd33193 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Tests.AuthTestControllerTest do
+defmodule Pleroma.Web.Auth.AuthControllerTest do
   use Pleroma.Web.ConnCase
 
   import Pleroma.Factory
similarity index 97%
rename from test/web/masto_fe_controller_test.exs
rename to test/pleroma/web/mastodon_api/masto_fe_controller_test.exs
index f3b54b5f2cb36ec163c17ad7df93bdb62a77d7fb..ed8add8d21077961bdcc3446f6a542f5680fe033 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.MastodonAPI.MastoFEController do
+defmodule Pleroma.Web.MastodonAPI.MastoFEControllerTest do
   use Pleroma.Web.ConnCase
 
   alias Pleroma.Config
similarity index 99%
rename from test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs
rename to test/pleroma/web/mastodon_api/update_credentials_test.exs
index 2e67047266089c1d30989fbfffc6be72c4448bbf..fe462caa38c07739e182c264093c2ab774280c51 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.MastodonAPI.MastodonAPIController.UpdateCredentialsTest do
+defmodule Pleroma.Web.MastodonAPI.UpdateCredentialsTest do
   alias Pleroma.Repo
   alias Pleroma.User
 
similarity index 97%
rename from test/web/mongooseim/mongoose_im_controller_test.exs
rename to test/pleroma/web/mongoose_im_controller_test.exs
index 5176cde84d153e3c55df7a1873196997f2cbabcb..e3a8aa3d872a082c1bc7b8a1e69f396bfcd87247 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.MongooseIMController do
+defmodule Pleroma.Web.MongooseIMControllerTest do
   use Pleroma.Web.ConnCase
   import Pleroma.Factory
 
similarity index 97%
rename from test/web/pleroma_api/views/chat/message_reference_view_test.exs
rename to test/pleroma/web/pleroma_api/views/chat_message_reference_view_test.exs
index 40dbae3cd4e9b35cabbdbef711901aadc5acfd13..26272c12513ffefeb363b0b8725fc631ef220971 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.PleromaAPI.Chat.MessageReferenceViewTest do
+defmodule Pleroma.Web.PleromaAPI.ChatMessageReferenceViewTest do
   use Pleroma.DataCase
 
   alias Pleroma.Chat
similarity index 96%
rename from test/plugs/admin_secret_authentication_plug_test.exs
rename to test/pleroma/web/plugs/admin_secret_authentication_plug_test.exs
index 14094eda81f870733da05548d3168ff97aa99574..4d35dc99c2aac0f91ec392f0ee10899c690b3075 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.AdminSecretAuthenticationPlugTest do
+defmodule Pleroma.Web.Plugs.AdminSecretAuthenticationPlugTest do
   use Pleroma.Web.ConnCase
 
   import Mock
similarity index 98%
rename from test/plugs/authentication_plug_test.exs
rename to test/pleroma/web/plugs/authentication_plug_test.exs
index 777ae15aeb076f47b6a64a7da634dac1df950b77..550543ff25d7e574b5f084b2890e73678f9b39e2 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.AuthenticationPlugTest do
+defmodule Pleroma.Web.Plugs.AuthenticationPlugTest do
   use Pleroma.Web.ConnCase, async: true
 
   alias Pleroma.Plugs.AuthenticationPlug
similarity index 94%
rename from test/plugs/basic_auth_decoder_plug_test.exs
rename to test/pleroma/web/plugs/basic_auth_decoder_plug_test.exs
index a6063d4f6bc1bbe4b0aad984ec2b8243409309ae..49f5ea238e37aa05a9a1508ba9ced695c89029ef 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.BasicAuthDecoderPlugTest do
+defmodule Pleroma.Web.Plugs.BasicAuthDecoderPlugTest do
   use Pleroma.Web.ConnCase, async: true
 
   alias Pleroma.Plugs.BasicAuthDecoderPlug
similarity index 92%
rename from test/plugs/cache_control_test.exs
rename to test/pleroma/web/plugs/cache_control_test.exs
index 6b567e81d70319a1e7e62d01ba20c2649508c18a..fcf3d2be80f9b99418bf14f85818e1e71ac35537 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.CacheControlTest do
+defmodule Pleroma.Web.Plugs.CacheControlTest do
   use Pleroma.Web.ConnCase
   alias Plug.Conn
 
similarity index 99%
rename from test/plugs/cache_test.exs
rename to test/pleroma/web/plugs/cache_test.exs
index 8b231c88163a6c9ce5df71c3ae0c68e3e3531893..105b170f00e5704243cdfa494f32d5fe1f699506 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.CacheTest do
+defmodule Pleroma.Web.Plugs.CacheTest do
   use ExUnit.Case, async: true
   use Plug.Test
 
similarity index 98%
rename from test/plugs/ensure_authenticated_plug_test.exs
rename to test/pleroma/web/plugs/ensure_authenticated_plug_test.exs
index a0667c5e024e7f57afd51b5f6b165b863c2ecdd0..b87f4e10307483c24895c6a30dd26de05234a74c 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.EnsureAuthenticatedPlugTest do
+defmodule Pleroma.Web.Plugs.EnsureAuthenticatedPlugTest do
   use Pleroma.Web.ConnCase, async: true
 
   alias Pleroma.Plugs.EnsureAuthenticatedPlug
similarity index 94%
rename from test/plugs/ensure_public_or_authenticated_plug_test.exs
rename to test/pleroma/web/plugs/ensure_public_or_authenticated_plug_test.exs
index fc2934369b573101a209c0cc7f868ed92656ddd9..9cd5bc715b8b2c74a9f24c4886357d945747f23f 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.EnsurePublicOrAuthenticatedPlugTest do
+defmodule Pleroma.Web.Plugs.EnsurePublicOrAuthenticatedPlugTest do
   use Pleroma.Web.ConnCase, async: true
 
   alias Pleroma.Config
similarity index 92%
rename from test/plugs/ensure_user_key_plug_test.exs
rename to test/pleroma/web/plugs/ensure_user_key_plug_test.exs
index 633c054471d48114e90b345d5b41cd82b0d5bf42..474510101d8135af41c36df123c7de10c1da25d8 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.EnsureUserKeyPlugTest do
+defmodule Pleroma.Web.Plugs.EnsureUserKeyPlugTest do
   use Pleroma.Web.ConnCase, async: true
 
   alias Pleroma.Plugs.EnsureUserKeyPlug
similarity index 93%
rename from test/web/plugs/federating_plug_test.exs
rename to test/pleroma/web/plugs/federating_plug_test.exs
index 2f8aadadcfac1d98a605ade71b302265f0083d5b..a39fe8adb52f4c722aa567214f7250be37c5dfc8 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.FederatingPlugTest do
+defmodule Pleroma.Web.Plugs.FederatingPlugTest do
   use Pleroma.Web.ConnCase
 
   setup do: clear_config([:instance, :federating])
similarity index 98%
rename from test/plugs/idempotency_plug_test.exs
rename to test/pleroma/web/plugs/idempotency_plug_test.exs
index 21fa0fbcf40a62009604062e2bf193465765b188..c7b8abcaf045f32b4d369a148565ed7f0293a347 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.IdempotencyPlugTest do
+defmodule Pleroma.Web.Plugs.IdempotencyPlugTest do
   use ExUnit.Case, async: true
   use Plug.Test
 
similarity index 97%
rename from test/plugs/instance_static_test.exs
rename to test/pleroma/web/plugs/instance_static_test.exs
index d42ba817efd87366e412f21b07a7dbb98fd11c4e..5b30011d30dbaff9de56e897039e7c24a983f603 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.InstanceStaticPlugTest do
+defmodule Pleroma.Web.Plugs.InstanceStaticTest do
   use Pleroma.Web.ConnCase
 
   @dir "test/tmp/instance_static"
similarity index 97%
rename from test/plugs/legacy_authentication_plug_test.exs
rename to test/pleroma/web/plugs/legacy_authentication_plug_test.exs
index 3b8c07627e20fe11ff31e06161fd192fc89aa69d..fbb25ee7bbb1d3a39aa0608e89afd51caa473698 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.LegacyAuthenticationPlugTest do
+defmodule Pleroma.Web.Plugs.LegacyAuthenticationPlugTest do
   use Pleroma.Web.ConnCase
 
   import Pleroma.Factory
similarity index 98%
rename from test/plugs/oauth_plug_test.exs
rename to test/pleroma/web/plugs/o_auth_plug_test.exs
index 9d39d31533b0f8053f926e23e087789e5e63a0cf..f4df8f4cbe8bcf7a5e4006c09b95397f0004dc39 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.OAuthPlugTest do
+defmodule Pleroma.Web.Plugs.OAuthPlugTest do
   use Pleroma.Web.ConnCase, async: true
 
   alias Pleroma.Plugs.OAuthPlug
similarity index 99%
rename from test/plugs/oauth_scopes_plug_test.exs
rename to test/pleroma/web/plugs/o_auth_scopes_plug_test.exs
index 334316043cfcfe914e87917d1c55fdb9b00bafe5..6a7676c8a527571d44facf0f6f62ba5513880844 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.OAuthScopesPlugTest do
+defmodule Pleroma.Web.Plugs.OAuthScopesPlugTest do
   use Pleroma.Web.ConnCase
 
   alias Pleroma.Plugs.OAuthScopesPlug
similarity index 98%
rename from test/web/plugs/plug_test.exs
rename to test/pleroma/web/plugs/plug_helper_test.exs
index 943e484e73ef57b848d4a732a77a0970bc9b0526..0d32031e82a0b760908a0247f04f3c68a2be87e2 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.PlugTest do
+defmodule Pleroma.Web.Plugs.PlugHelperTest do
   @moduledoc "Tests for the functionality added via `use Pleroma.Web, :plug`"
 
   alias Pleroma.Plugs.ExpectAuthenticatedCheckPlug
similarity index 99%
rename from test/plugs/rate_limiter_test.exs
rename to test/pleroma/web/plugs/rate_limiter_test.exs
index 4d3d694f41d995c9008150fab1d8077580fb41bd..dfc1abcbdb09a078c4d114498fb0646abbe61f29 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.RateLimiterTest do
+defmodule Pleroma.Web.Plugs.RateLimiterTest do
   use Pleroma.Web.ConnCase
 
   alias Phoenix.ConnTest
similarity index 98%
rename from test/plugs/remote_ip_test.exs
rename to test/pleroma/web/plugs/remote_ip_test.exs
index 6d01c812de291379aab4c9c6c1f7fb1cf515f2ce..14c5576940aaf9185999bec813f323827967ca42 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.RemoteIpTest do
+defmodule Pleroma.Web.Plugs.RemoteIpTest do
   use ExUnit.Case
   use Plug.Test
 
similarity index 95%
rename from test/plugs/session_authentication_plug_test.exs
rename to test/pleroma/web/plugs/session_authentication_plug_test.exs
index 0949ecfede817b9cbd5592684f0d47492f379a2b..34518414ff6a764a97fb9207ae84ac0e00f8eda2 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.SessionAuthenticationPlugTest do
+defmodule Pleroma.Web.Plugs.SessionAuthenticationPlugTest do
   use Pleroma.Web.ConnCase, async: true
 
   alias Pleroma.Plugs.SessionAuthenticationPlug
similarity index 94%
rename from test/plugs/set_format_plug_test.exs
rename to test/pleroma/web/plugs/set_format_plug_test.exs
index 7a1dfe9bfa26f8e72e71106ad806bd080d79a6f3..1b9ba16b1f0682f683739deeef69f0cf597920f5 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.SetFormatPlugTest do
+defmodule Pleroma.Web.Plugs.SetFormatPlugTest do
   use ExUnit.Case, async: true
   use Plug.Test
 
similarity index 95%
rename from test/plugs/set_locale_plug_test.exs
rename to test/pleroma/web/plugs/set_locale_plug_test.exs
index 7114b155727c0c298a454256786fd34310835058..3dc73202e177ab76d1c27c4d988c0d9ed2734c9c 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.SetLocalePlugTest do
+defmodule Pleroma.Web.Plugs.SetLocalePlugTest do
   use ExUnit.Case, async: true
   use Plug.Test
 
similarity index 94%
rename from test/plugs/set_user_session_id_plug_test.exs
rename to test/pleroma/web/plugs/set_user_session_id_plug_test.exs
index 7f1a1e98bcdba313c8df7e9314ba3e943671a00a..11404c7f78826629624d8267c718e9be019e3f46 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.SetUserSessionIdPlugTest do
+defmodule Pleroma.Web.Plugs.SetUserSessionIdPlugTest do
   use Pleroma.Web.ConnCase, async: true
 
   alias Pleroma.Plugs.SetUserSessionIdPlug
similarity index 95%
rename from test/plugs/uploaded_media_plug_test.exs
rename to test/pleroma/web/plugs/uploaded_media_plug_test.exs
index 20b13dfac8cb348d4450dc03c4a1dd84ba2d54ca..07f52c8cd0b3195aa4a9e645fb2b4dc9411ee0da 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.UploadedMediaPlugTest do
+defmodule Pleroma.Web.Plugs.UploadedMediaPlugTest do
   use Pleroma.Web.ConnCase
   alias Pleroma.Upload
 
similarity index 96%
rename from test/plugs/user_enabled_plug_test.exs
rename to test/pleroma/web/plugs/user_enabled_plug_test.exs
index b219d8abffa35f759470dccedbefbba9ceddb7f6..0a314562ad82b62d8d572727bec52ea2012f076d 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.UserEnabledPlugTest do
+defmodule Pleroma.Web.Plugs.UserEnabledPlugTest do
   use Pleroma.Web.ConnCase, async: true
 
   alias Pleroma.Plugs.UserEnabledPlug
similarity index 94%
rename from test/plugs/user_fetcher_plug_test.exs
rename to test/pleroma/web/plugs/user_fetcher_plug_test.exs
index 0496f14dd10b2a07be36a61f3e30e962d3794ef2..f873d7dc8cad7a252f582beb7754247f013df211 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.UserFetcherPlugTest do
+defmodule Pleroma.Web.Plugs.UserFetcherPlugTest do
   use Pleroma.Web.ConnCase, async: true
 
   alias Pleroma.Plugs.UserFetcherPlug
similarity index 94%
rename from test/plugs/user_is_admin_plug_test.exs
rename to test/pleroma/web/plugs/user_is_admin_plug_test.exs
index 8bc00e44497a58dafcdb48600fe07ca88880955f..4a05675bdda60faf320aa9587e3b3c113682f6df 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Plugs.UserIsAdminPlugTest do
+defmodule Pleroma.Web.Plugs.UserIsAdminPlugTest do
   use Pleroma.Web.ConnCase, async: true
 
   alias Pleroma.Plugs.UserIsAdminPlug
similarity index 97%
rename from test/web/rich_media/aws_signed_url_test.exs
rename to test/pleroma/web/rich_media/parsers/ttl/aws_signed_url_test.exs
index 1ceae1a31569adc673fec9b2308dc54861787d57..4a3122638ad2faea1dceccd3a5fabad80ed9db65 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.RichMedia.TTL.AwsSignedUrlTest do
+defmodule Pleroma.Web.RichMedia.Parsers.TTL.AwsSignedUrlTest do
   use ExUnit.Case, async: true
 
   test "s3 signed url is parsed correct for expiration time" do