- test "a note without a published field should not validate", _ do
- insert(:user, %{ap_id: "http://mastodon.example.org/users/admin"})
- note = Jason.decode!(File.read!("test/fixtures/mastodon/note-without-published.json"))
- %{valid?: false} = ArticleNotePageValidator.cast_and_validate(note)
- end
-