   """
   @spec build_conn() :: Conn.t
   def build_conn() do
-    build_conn(:get, "/", [])
+    build_conn(:get, "/", nil)
   end
 
   @doc """

  This is useful when a specific connection is required
  for testing a plug or a particular function.
  """
  @spec build_conn(atom | binary, binary, binary | list | map) :: Conn.t
  def build_conn(method, path, params_or_body \\ []) do
    Plug.Adapters.Test.Conn.conn(%Conn{}, method, path, params_or_body)
    |> Conn.put_private(:plug_skip_csrf_protection, true)
    |> Conn.put_private(:phoenix_recycled, true)

  @doc """
  Deprecated version of conn/3. Use build_conn/3 instead
  """
  @spec conn(atom | binary, binary, binary | list | map | nil) :: Conn.t
  def conn(method, path, params_or_body \\ nil) do
    IO.write :stderr, """
    warning: using conn/3 to build a connection is deprecated. Use build_conn/3 instead.
