From: Roger Braun <roger@rogerbraun.net>
Date: Thu, 14 Sep 2017 06:11:51 +0000 (+0200)
Subject: Cleanup.
X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=7f3ce5c1a0ea9e7ea960b06ca5f40f4cee4b9715;p=akkoma

Cleanup.
---

diff --git a/test/web/mastodon_api/status_view_test.exs b/test/web/mastodon_api/status_view_test.exs
index 836a47db0..9fa95234b 100644
--- a/test/web/mastodon_api/status_view_test.exs
+++ b/test/web/mastodon_api/status_view_test.exs
@@ -2,7 +2,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
   use Pleroma.DataCase
 
   alias Pleroma.Web.MastodonAPI.{StatusView, AccountView}
-  alias Pleroma.{User, Object}
+  alias Pleroma.User
   alias Pleroma.Web.OStatus
   import Pleroma.Factory
 
@@ -55,7 +55,6 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
   end
 
   test "attachments" do
-    incoming = File.read!("test/fixtures/incoming_reply_mastodon.xml")
     object = %{
       "type" => "Image",
       "url" => [