test: fixup test breakage caused by User.delete() harmonization
authorWilliam Pitcock <nenolod@dereferenced.org>
Thu, 1 Nov 2018 08:23:49 +0000 (08:23 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Thu, 1 Nov 2018 08:23:49 +0000 (08:23 +0000)
test/user_test.exs

index 9b3519ece5db372c0afa06cb8f1c012f8d95b7cd..7dec3462f94e6bc92beb63459efc93feb9d7281e 100644 (file)
@@ -511,7 +511,7 @@ defmodule Pleroma.UserTest do
     {:ok, _, _} = CommonAPI.favorite(activity.id, follower)
     {:ok, _, _} = CommonAPI.repeat(activity.id, follower)
 
-    :ok = User.delete(user)
+    {:ok, _} = User.delete(user)
 
     followed = Repo.get(User, followed.id)
     follower = Repo.get(User, follower.id)