diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-08-22 20:46:01 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-09-10 21:50:40 +0300 |
commit | 9bf1065a06837b4c753549d89afe23a636a20972 (patch) | |
tree | 1637cfc658487fd95b89282b87212b9b7f354a83 /test/activity_test.exs | |
parent | 0254696e30132f48e585154450aff87afb259e1d (diff) | |
download | pleroma-9bf1065a06837b4c753549d89afe23a636a20972.tar.gz pleroma-9bf1065a06837b4c753549d89afe23a636a20972.zip |
schedule activity expiration in Oban
Diffstat (limited to 'test/activity_test.exs')
-rw-r--r-- | test/activity_test.exs | 9 |
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) |