akkoma/test/pleroma/web/activity_pub/object_validators
ilja 90adb3cff5 Fix tests
There was one test who used MFM and now failed due to the new representation. This is now adapted so it doesn't fail any more.

There was another test failing, but I don't see how this could have been affected by the MFM changes...
But I did draw in newer dependencies, so I thought maybe a newer EARMARK dependency was now failing, and indeed.
By explicitly asking for 1.4.46 (according to mix.lock the version it was before), it now works again.

This is what was failing. It seems that earmark 1.4.47 removed everything before the comment, which it should not do.

  1) test format_input/3 with markdown raw HTML (Pleroma.Web.CommonAPI.UtilsTest)
     test/pleroma/web/common_api/utils_test.exs:213
     Assertion with == failed
     code:  assert result == ~s"<a href=\"http://example.org/\">OwO</a>"
     left:  ""
     right: "<a href=\"http://example.org/\">OwO</a>"
     stacktrace:
       test/pleroma/web/common_api/utils_test.exs:216: (test)
2024-08-11 14:59:10 +02:00
..
accept_validation_test.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
announce_validation_test.exs ObjectValidators.{Announce,EmojiReact,Like}: Fix context, actor & addressing 2021-06-09 04:23:02 +02:00
article_note_page_validator_test.exs Fix tests 2024-08-11 14:59:10 +02:00
attachment_validator_test.exs Formatting 2024-04-16 08:02:13 +02:00
block_validation_test.exs paginate follow requests (#460) 2023-02-04 20:51:17 +00:00
delete_validation_test.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
emoji_react_handling_test.exs fix emoji tests 2022-06-11 14:08:54 +01:00
follow_validation_test.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
like_validation_test.exs ObjectValidators.{Announce,EmojiReact,Like}: Fix context, actor & addressing 2021-06-09 04:23:02 +02:00
reject_validation_test.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
tag_validator_test.exs just drop unknown tags 2022-01-07 20:14:04 +00:00
undo_handling_test.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
update_handling_test.exs Post editing (#202) 2022-09-06 19:24:02 +00:00
user_validator_test.exs Accept all standard actor types 2024-04-23 18:14:34 +02:00