pleroma/test
Mark Felder 0319d1ad3c Remove test, logic was flawed
Before splitting the publish_one/1 function into two parts for testing purposes we had logic that checked the keys of params for :unreachable_since and if it was absent it did not set the instance as reachable. There is also a test to validate that when unreachable_since is nil, we set it as reachable.

However the default value of :unreachable_since when an instance is reachable is nil. The test appears to be testing a scenario that does not exist in the real world, and with this refactor we will always have an :unreachable_since key.

We were attempting to update the reachability upon every successful federation because we always include it when we generate the publish_one jobs.
2024-08-06 11:17:34 -04:00
..
config Load an emoji.txt specific to the test env 2021-02-03 16:40:59 -06:00
credo/check/consistency Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
fixtures Add test to fetch and validate an activity that originally failed signature 2024-07-25 14:34:55 -04:00
instance_static support for special chars in pack name 2020-09-24 09:12:37 +03:00
mix Fix order of args for favorite/2 2024-07-22 18:25:37 -04:00
pleroma Remove test, logic was flawed 2024-08-06 11:17:34 -04:00
support Refactor tests for Backups 2024-07-23 10:30:56 -04:00
test_helper.exs Enable erratic tests 2024-06-20 19:43:39 +00:00