|> json(%{error: "pack name cannot be empty"})
{:error, error, _} ->
- error_message = add_posix_error("Couldn't delete the #{name} pack", error)
+ error_message = add_posix_error("Couldn't delete the `#{name}` pack", error)
conn
|> put_status(:internal_server_error)
|> delete("/api/pleroma/emoji/pack?name=test_emoji_pack")
|> json_response_and_validate_schema(500) == %{
"error" =>
- "Couldn't delete the pack test_emoji_pack (POSIX error: Permission denied)"
+ "Couldn't delete the `test_emoji_pack` pack (POSIX error: Permission denied)"
}
end
after