diff --git a/test/pleroma/web/akkoma_api/protocol_handler_controller_test.exs b/test/pleroma/web/akkoma_api/protocol_handler_controller_test.exs
index fc3ee92b6..314815f20 100644
--- a/test/pleroma/web/akkoma_api/protocol_handler_controller_test.exs
+++ b/test/pleroma/web/akkoma_api/protocol_handler_controller_test.exs
@@ -69,7 +69,7 @@ test "should return forbidden for unauthed user when target is remote" do
test "should return redirect for unauthed user when target is local AP ID for user" do
clear_config([Pleroma.Web.Endpoint, :url, :host], "sub.example.com")
%{conn: conn} = oauth_access([])
- remote_user = insert(:user, %{nickname: "akkoma@sub.example.com", local: true, ap_id: "https://sub.example.com/users/akkoma"})
+ local_user = insert(:user, %{nickname: "akkoma@sub.example.com", local: true, ap_id: "https://sub.example.com/users/akkoma"})
resp =
conn
@@ -77,7 +77,7 @@ test "should return redirect for unauthed user when target is local AP ID for us
|> html_response(302)
assert resp =~ "You are being"
- assert resp =~ ""
+ assert resp =~ ""
end
test "should return redirect for unauthed user when target is local AP ID for note activity" do