Fix function calls due to module name change

This commit is contained in:
Mark Felder 2021-02-26 11:04:27 -06:00
parent bfcdcd4f69
commit 16a7ffb1ea

View File

@ -34,7 +34,7 @@ test "follows remote users" do
assert User.get_follow_requests(remote_user) |> length == 0 assert User.get_follow_requests(remote_user) |> length == 0
FollowbotPolicy.filter(message) FollowBotPolicy.filter(message)
assert User.get_follow_requests(remote_user) |> length == 1 assert User.get_follow_requests(remote_user) |> length == 1
end end
@ -62,7 +62,7 @@ test "does not follow users with #nobot in bio" do
assert User.get_follow_requests(remote_user) |> length == 0 assert User.get_follow_requests(remote_user) |> length == 0
FollowbotPolicy.filter(message) FollowBotPolicy.filter(message)
assert User.get_follow_requests(remote_user) |> length == 0 assert User.get_follow_requests(remote_user) |> length == 0
end end
@ -90,7 +90,7 @@ test "does not follow local users" do
assert User.get_follow_requests(local_user) |> length == 0 assert User.get_follow_requests(local_user) |> length == 0
FollowbotPolicy.filter(message) FollowBotPolicy.filter(message)
assert User.get_follow_requests(local_user) |> length == 0 assert User.get_follow_requests(local_user) |> length == 0
end end
@ -118,7 +118,7 @@ test "does not follow users requiring follower approval" do
assert User.get_follow_requests(remote_user) |> length == 0 assert User.get_follow_requests(remote_user) |> length == 0
FollowbotPolicy.filter(message) FollowBotPolicy.filter(message)
assert User.get_follow_requests(remote_user) |> length == 0 assert User.get_follow_requests(remote_user) |> length == 0
end end