Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the cowboy test suite for static file support

  • Loading branch information...
commit 43e1b8f0c94d0dd83a67dbf4b3eea1f0b8d4c9cc 1 parent 96f3d84
@choptastic choptastic authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  test/cowboy_request_bridge_SUITE.erl
View
3  test/cowboy_request_bridge_SUITE.erl
@@ -82,7 +82,8 @@ init({_Transport, http}, Req, _Opts) ->
handle(Req, State) ->
ct:log("-> init RequestBridge and ResponseBridge", []),
%% init RequestBridge and ResponseBridge
- RequestBridge = simple_bridge:make_request(cowboy_request_bridge, Req),
+ DocRoot = undefined,
+ RequestBridge = simple_bridge:make_request(cowboy_request_bridge, {Req, DocRoot}),
ResponseBridge = simple_bridge:make_response(cowboy_response_bridge, RequestBridge),
%% test API functions for RequestBridge interface
Please sign in to comment.
Something went wrong with that request. Please try again.