Merge branch 'feature/incoming-remote-unfollow' into 'develop'
[akkoma] / test / web / twitter_api / views / notification_view_test.exs
index e3b1406573ccbb7a21ac5511f28d2fb65a632e18..79eafda7d4e071fd6857cbbf86c37c454dc9328e 100644 (file)
@@ -24,7 +24,7 @@ defmodule Pleroma.Web.TwitterAPI.NotificationViewTest do
 
     {:ok, follower} = User.follow(follower, user)
     {:ok, activity} = ActivityPub.follow(follower, 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)))
     [follow_notif] = Notification.for_user(user)
 
     represented = %{