Fix function calls due to module name change
This commit is contained in:
parent
bfcdcd4f69
commit
16a7ffb1ea
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue