 
     assert Endpoint.config_change([{Endpoint, config}], []) == :ok
     assert Endpoint.config(:url) == [host: "example.com", path: "/api", port: 1234]
-    assert Endpoint.config(:static_url) == [port: 456, host: "static.example.com", path: "/static"]
+    assert Endpoint.config(:static_url) == [port: 456, host: "static.example.com"]
     assert Endpoint.url == "http://example.com:1234"
     assert Endpoint.static_url == "http://static.example.com:456"
   end

    assert code_reloading? == false
  end

  defmodule UrlEndpoint do
    use Phoenix.Endpoint, otp_app: :phoenix
  end

  setup_all do
    Endpoint.start_link()
    :ok

    # Old timestamp
    old_stat = File.stat!(file)
    old_vsn  = static_vsn(old_stat)
    assert Endpoint.static_path("/phoenix.png") == "/phoenix.png?vsn=#{old_vsn}"

    # Now with cache disabled
    config = put_in(@config[:cache_static_lookup], false)
