Merge branch 'develop' into csaurus/pleroma-feature/mstdn-direct-api
[akkoma] / test / web / twitter_api / views / user_view_test.exs
index dd55c0b7e421ff63c3e0669361d45c1e4a3380fe..9f8bf4cdcfda9fe5cd92ff31d4bb4c241b6163e1 100644 (file)
@@ -31,7 +31,7 @@ defmodule Pleroma.Web.TwitterAPI.UserViewTest do
     User.follow(second_follower, user)
     User.follow(user, follower)
     {:ok, user} = User.update_follower_count(user)
-    Cachex.set(:user_cache, "user_info:#{user.id}", User.user_info(Repo.get!(User, user.id)))
+    Cachex.put(:user_cache, "user_info:#{user.id}", User.user_info(Repo.get!(User, user.id)))
 
     image = "http://localhost:4001/images/avi.png"
     banner = "http://localhost:4001/images/banner.png"