summaryrefslogtreecommitdiff
path: root/test/activity_test.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-09-11 17:19:58 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-09-11 17:19:58 +0300
commit0bda85857e8f320ee7b91d8203fd621e1e2d5180 (patch)
treec77346be760cff6c3f50eceee778ef43a4bd252a /test/activity_test.exs
parent4d18a50f3c4b6654339a6a8df71160e23b45cac0 (diff)
parent9fb88c814ddadd9138ef29550a856938491a1ca4 (diff)
downloadpleroma-0bda85857e8f320ee7b91d8203fd621e1e2d5180.tar.gz
pleroma-0bda85857e8f320ee7b91d8203fd621e1e2d5180.zip
Merge remote-tracking branch 'remotes/origin/develop' into media-preview-proxy
# Conflicts: # lib/pleroma/instances/instance.ex
Diffstat (limited to 'test/activity_test.exs')
-rw-r--r--test/activity_test.exs9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/activity_test.exs b/test/activity_test.exs
index 2a92327d1..ee6a99cc3 100644
--- a/test/activity_test.exs
+++ b/test/activity_test.exs
@@ -185,15 +185,6 @@ defmodule Pleroma.ActivityTest do
end
end
- test "add an activity with an expiration" do
- activity = insert(:note_activity)
- insert(:expiration_in_the_future, %{activity_id: activity.id})
-
- Pleroma.ActivityExpiration
- |> where([a], a.activity_id == ^activity.id)
- |> Repo.one!()
- end
-
test "all_by_ids_with_object/1" do
%{id: id1} = insert(:note_activity)
%{id: id2} = insert(:note_activity)