diff options
| author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-08-20 20:03:07 +0200 |
|---|---|---|
| committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-09-11 01:40:20 +0200 |
| commit | 1b3d5956b1be7faac4e1230d788307650acce991 (patch) | |
| tree | 6685a08d5b18372c9075be7f8c198b01ce15ee40 /test/web/activity_pub/object_validators | |
| parent | 2132b24a9df8116e12abc8c458cff4c3850aeda0 (diff) | |
| download | pleroma-1b3d5956b1be7faac4e1230d788307650acce991.tar.gz pleroma-1b3d5956b1be7faac4e1230d788307650acce991.zip | |
Pipeline Ingestion: Article
Diffstat (limited to 'test/web/activity_pub/object_validators')
| -rw-r--r-- | test/web/activity_pub/object_validators/article_note_validator_test.exs (renamed from test/web/activity_pub/object_validators/note_validator_test.exs) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/web/activity_pub/object_validators/note_validator_test.exs b/test/web/activity_pub/object_validators/article_note_validator_test.exs index 30c481ffb..cc6dab872 100644 --- a/test/web/activity_pub/object_validators/note_validator_test.exs +++ b/test/web/activity_pub/object_validators/article_note_validator_test.exs @@ -2,10 +2,10 @@ # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/> # SPDX-License-Identifier: AGPL-3.0-only -defmodule Pleroma.Web.ActivityPub.ObjectValidators.NoteValidatorTest do +defmodule Pleroma.Web.ActivityPub.ObjectValidators.ArticleNoteValidatorTest do use Pleroma.DataCase - alias Pleroma.Web.ActivityPub.ObjectValidators.NoteValidator + alias Pleroma.Web.ActivityPub.ObjectValidators.ArticleNoteValidator alias Pleroma.Web.ActivityPub.Utils import Pleroma.Factory @@ -29,7 +29,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.NoteValidatorTest do end test "a basic note validates", %{note: note} do - %{valid?: true} = NoteValidator.cast_and_validate(note) + %{valid?: true} = ArticleNoteValidator.cast_and_validate(note) end end end |
