diff options
Diffstat (limited to 'test/http_SUITE_data/rest_empty_resource.erl')
-rw-r--r-- | test/http_SUITE_data/rest_empty_resource.erl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/http_SUITE_data/rest_empty_resource.erl b/test/http_SUITE_data/rest_empty_resource.erl index 7e7c00a..97fc26f 100644 --- a/test/http_SUITE_data/rest_empty_resource.erl +++ b/test/http_SUITE_data/rest_empty_resource.erl @@ -1,5 +1,6 @@ -module(rest_empty_resource). --export([init/3]). -init(_Transport, _Req, _Opts) -> - {upgrade, protocol, cowboy_rest}. +-export([init/2]). + +init(Req, Opts) -> + {rest, Req, Opts}. |