           end
         end)
 
-      assert logs =~ "file://"
-      assert logs =~ "null"
+      assert logs =~ "Origin of the request: file://"
+      assert logs =~ "Origin of the request: null"
     end
 
     def invalid_allowed?(%URI{host: nil}), do: true

  end

  setup_all do
    Endpoint.start_link
    :ok
  end


System.put_env("TRANSPORT_TEST_HOST", "host.com")

defmodule Phoenix.Socket.TransportTest do
  use ExUnit.Case, async: true
  use RouterHelper

  import ExUnit.CaptureLog
