From f3c118ca233169daa6fac92356ef7e76785cbf21 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Sun, 15 Jan 2023 18:00:03 +0000 Subject: [PATCH] Mix format --- .../article_note_page_validator_test.exs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/test/pleroma/web/activity_pub/object_validators/article_note_page_validator_test.exs b/test/pleroma/web/activity_pub/object_validators/article_note_page_validator_test.exs index ade2256c3..0d39dee67 100644 --- a/test/pleroma/web/activity_pub/object_validators/article_note_page_validator_test.exs +++ b/test/pleroma/web/activity_pub/object_validators/article_note_page_validator_test.exs @@ -42,9 +42,15 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.ArticleNotePageValidatorTest test "a note with a language validates" do user = insert(:user, %{ap_id: "https://mastodon.social/users/akkoma_ap_integration_tester"}) note = File.read!("test/fixtures/mastodon/note_with_language.json") |> Jason.decode!() - %{valid?: true, changes: %{ contentMap: %{ - "ja" => "

tag

", - }}} = ArticleNotePageValidator.cast_and_validate(note) + + %{ + valid?: true, + changes: %{ + contentMap: %{ + "ja" => "

tag

" + } + } + } = ArticleNotePageValidator.cast_and_validate(note) end test "a note from factory validates" do -- 2.45.2