Fix follow test semantics.
This commit is contained in:
parent
2ffc6da207
commit
71f66bd458
1 changed files with 2 additions and 1 deletions
|
@ -287,7 +287,8 @@ test "following / unfollowing a user", %{conn: conn} do
|
|||
|> assign(:user, user)
|
||||
|> post("/api/v1/follows", %{"uri" => other_user.nickname})
|
||||
|
||||
assert other_user = json_response(conn, 200)
|
||||
assert %{"id" => id} = json_response(conn, 200)
|
||||
assert id == other_user.id
|
||||
end
|
||||
|
||||
test "unimplemented block/mute endpoints" do
|
||||
|
|
Loading…
Reference in a new issue