pleroma/test/support
Phantasm 01ffaba3d2
MastoAPI: Fix unauth visibility checks when fetching by Activity FlakeID
- Adds another Pleroma.ActivityPub.Visibility.visible_for_user?/2 func
- Modifies existing tests to include a local Activity referencing a
  remote Object
- Changes Announce Activity test factory to reference Objects instead of
  Activities and use a different Actor for the Announce
- Changes ap_id of remote user in Announce test factory to match Objects
- Adds `object_local` option to Note factories that explicitly changes
  the domain in the URL to not match the endpoint URL in the test env
  to properly work with the new visibility func, since we don't store
  locality of Object unlike Activities
2025-12-23 00:07:16 +01:00
..
builders Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
captcha Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
api_spec_helpers.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
cachex_proxy.ex Pleroma.Web.RichMedia.Parser: Remove test-specific codepaths 2024-02-06 18:33:54 -05:00
channel_case.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
cluster.ex Fix invalid string comparison for OTP versions and replace with config 2023-12-20 23:13:33 +00:00
conn_case.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
data_case.ex PublisherTest: Mock -> Mox 2025-09-05 15:04:33 +04:00
factory.ex MastoAPI: Fix unauth visibility checks when fetching by Activity FlakeID 2025-12-23 00:07:16 +01:00
helpers.ex Add Pleroma.Test.Helpers.get_query_parameter/2 to retrieve specific query parameter values 2024-01-15 17:32:15 -05:00
http_request_mock.ex Merge branch 'translate-posts' into 'develop' 2025-03-20 09:11:57 +00:00
http_signatures_proxy.ex HTTPSignaturePlugTest: Rewrite to use mox. 2024-05-28 14:00:25 +04:00
mocks.ex PublisherTest: Mock -> Mox 2025-09-05 15:04:33 +04:00
mrf_module_mock.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
null_cache.ex Pleroma.Web.RichMedia.Parser: Remove test-specific codepaths 2024-02-06 18:33:54 -05:00
oban_helpers.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
translation_mock.ex fix 2025-02-22 16:03:05 +01:00
websocket_client.ex Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00