Testing pow authenticated controllers

I’m already doing this on setup method, but on my snippet for some reason the name of modules are lowercased, but you can check here:

setup %{conn: conn} do
  user = user_fixture()

  authed_conn =
    conn
    |> put_req_header("accept", "application/json")
    # the assignment line
    |> Pow.Plug.assign_current_user(user, [])

  {:ok, conn: authed_conn}
end