changes after rebase

This commit is contained in:
Alexander Strizhakov 2020-08-16 21:01:38 +03:00
commit c4c5caedd8
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
17 changed files with 2 additions and 3 deletions

View file

@ -0,0 +1,16 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.ReportNoteTest do
alias Pleroma.ReportNote
use Pleroma.DataCase
import Pleroma.Factory
test "create/3" do
user = insert(:user)
report = insert(:report_activity)
assert {:ok, note} = ReportNote.create(user.id, report.id, "naughty boy")
assert note.content == "naughty boy"
end
end