Format subscriptions related stuff
authorSadposter <hannah+pleroma@coffee-and-dreams.uk>
Fri, 5 Apr 2019 14:22:48 +0000 (15:22 +0100)
committerHannah Ward <Hannah.ward9001@gmail.com>
Fri, 5 Apr 2019 14:30:34 +0000 (15:30 +0100)
test/notification_test.exs
test/web/twitter_api/views/user_view_test.exs

index 3a11d493b0ce4f2aa42d1bcc8cf62b7d63c5a48a..96a8d372ad3574bf75c9cd50bc259aaddb7c24c6 100644 (file)
@@ -30,7 +30,6 @@ defmodule Pleroma.NotificationTest do
       assert other_notification.activity_id == activity.id
     end
 
-
     test "it creates a notification for subscribed users" do
       user = insert(:user)
       subscriber = insert(:user)
@@ -38,7 +37,7 @@ defmodule Pleroma.NotificationTest do
       {:ok, _, _} = TwitterAPI.subscribe(subscriber, %{"user_id" => user.id})
       {:ok, status} = TwitterAPI.create_status(user, %{"status" => "Akariiiin"})
       {:ok, [notification]} = Notification.create_notifications(status)
-      
+
       assert notification.user_id == subscriber.id
     end
   end
index f9ae5888ca664af261c6613d32cdf62f66f84c3c..8986112cc43144a0d872303677f4e206b9b6d56b 100644 (file)
@@ -155,7 +155,7 @@ defmodule Pleroma.Web.TwitterAPI.UserViewTest do
       "pleroma" => %{
         "confirmation_pending" => false,
         "tags" => [],
-        "subscribed" => false,
+        "subscribed" => false
       }
     }