Remove unnecesary queries

This commit is contained in:
dtluna 2017-04-16 17:41:30 +03:00
parent f6e632d25b
commit 369be708b2
1 changed files with 0 additions and 6 deletions

View File

@ -118,9 +118,6 @@ test "Follow another user using user_id" do
{:ok, user, following, activity } = TwitterAPI.follow(user, %{"user_id" => following.id})
user = Repo.get(User, user.id)
follow = Repo.get(Activity, activity.id)
assert user.following == [User.ap_followers(following)]
end
@ -130,9 +127,6 @@ test "Follow another user using screen_name" do
{:ok, user, following, activity } = TwitterAPI.follow(user, %{"screen_name" => following.nickname})
user = Repo.get(User, user.id)
follow = Repo.get(Activity, activity.id)
assert user.following == [User.ap_followers(following)]
end