Fixing up deletes a bit (#327)
[akkoma] / test / pleroma / web / mastodon_api / update_credentials_test.exs
index 435782d0ac58e592c3b1206fbba8685156621c67..a5403f360ade71d0748623422c02a4e261b8948d 100644 (file)
@@ -226,7 +226,7 @@ defmodule Pleroma.Web.MastodonAPI.UpdateCredentialsTest do
     test "does not allow negative integers other than -1 for TTL", %{conn: conn} do
       conn = patch(conn, "/api/v1/accounts/update_credentials", %{"status_ttl_days" => "-2"})
 
-      assert user_data = json_response_and_validate_schema(conn, 403)
+      assert json_response_and_validate_schema(conn, 403)
     end
 
     test "updates the user's AKAs", %{conn: conn} do