Tests: Remove unneeded explicit cachex use.
[akkoma] / test / pleroma / web / mastodon_api / controllers / status_controller_test.exs
index 30d542dfa8876fa55ef45d3b83d2c9cd2413fb24..de542e5df8e654ea0e4994a02fe2df93b55ad62a 100644 (file)
@@ -67,10 +67,6 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
           "sensitive" => "0"
         })
 
-      {:ok, ttl} = Cachex.ttl(:idempotency_cache, idempotency_key)
-      # Six hours
-      assert ttl > :timer.seconds(6 * 60 * 60 - 1)
-
       assert %{"content" => "cofe", "id" => id, "spoiler_text" => "2hu", "sensitive" => false} =
                json_response_and_validate_schema(conn_one, 200)