test: Fix warnings
This commit is contained in:
parent
c37561214a
commit
5ac2b7417d
|
@ -65,7 +65,7 @@ test "it works for incoming unqualified emoji reactions" do
|
||||||
object = Object.get_by_ap_id(data["object"])
|
object = Object.get_by_ap_id(data["object"])
|
||||||
|
|
||||||
assert object.data["reaction_count"] == 1
|
assert object.data["reaction_count"] == 1
|
||||||
assert match?([[emoji, _]], object.data["reactions"])
|
assert match?([[^emoji, _]], object.data["reactions"])
|
||||||
end
|
end
|
||||||
|
|
||||||
test "it reject invalid emoji reactions" do
|
test "it reject invalid emoji reactions" do
|
||||||
|
|
|
@ -375,7 +375,7 @@ test "updates the user's background, upload_limit, returns a HTTP 413", %{
|
||||||
"pleroma_background_image" => new_background_oversized
|
"pleroma_background_image" => new_background_oversized
|
||||||
})
|
})
|
||||||
|
|
||||||
assert user_response = json_response_and_validate_schema(res, 413)
|
assert _user_response = json_response_and_validate_schema(res, 413)
|
||||||
assert user.background == %{}
|
assert user.background == %{}
|
||||||
|
|
||||||
clear_config([:instance, :upload_limit], upload_limit)
|
clear_config([:instance, :upload_limit], upload_limit)
|
||||||
|
|
Loading…
Reference in New Issue