       })
     end
 
-    users = "/teams/the_team_id/users/0/#{Fetcher.users_per_page}"
+    users = "/users/0/#{Fetcher.users_per_page}"
     Bypass.expect bypass, "GET", users, fn conn ->
       conn = Plug.Conn.fetch_query_params(conn)
       assert_private_token_header(conn)

      })
    end

    users = "/teams/the_team_id/users/0/#{Fetcher.users_per_page}"
    Bypass.expect bypass, "GET", users, fn conn ->
      conn = Plug.Conn.fetch_query_params(conn)
      assert_request_header(conn, "authorization", "Bearer #{@private_token}")

      send_json(conn, %{})
    end

    users = "/users/0/#{Fetcher.users_per_page}"
    Bypass.expect bypass, "GET", users, fn conn ->
      conn = Plug.Conn.fetch_query_params(conn)
      assert_private_token_header(conn)
