Fix test warnings
This commit is contained in:
parent
4576a5c440
commit
f8e8bd9f5c
2 changed files with 2 additions and 5 deletions
|
@ -65,7 +65,7 @@ test "it works for incoming unqualified emoji reactions" do
|
|||
object = Object.get_by_ap_id(data["object"])
|
||||
|
||||
assert object.data["reaction_count"] == 1
|
||||
assert match?([[emoji, _]], object.data["reactions"])
|
||||
assert match?([[^emoji, _]], object.data["reactions"])
|
||||
end
|
||||
|
||||
test "it reject invalid emoji reactions" do
|
||||
|
|
|
@ -560,10 +560,7 @@ test "returns the data or an emtpy list" do
|
|||
test "assigns report to an account" do
|
||||
reporter = insert(:user)
|
||||
target_account = insert(:user)
|
||||
%{id: assigned_id} = assigned = insert(:user)
|
||||
context = Utils.generate_context_id()
|
||||
|
||||
target_ap_id = target_account.ap_id
|
||||
%{id: assigned_id} = insert(:user)
|
||||
|
||||
{:ok, report} = CommonAPI.report(reporter, %{account_id: target_account.id})
|
||||
|
||||
|
|
Loading…
Reference in a new issue