aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_SUITE_data/rest_patch_resource.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/http_SUITE_data/rest_patch_resource.erl')
-rw-r--r--test/http_SUITE_data/rest_patch_resource.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http_SUITE_data/rest_patch_resource.erl b/test/http_SUITE_data/rest_patch_resource.erl
index 4b81648..03f780f 100644
--- a/test/http_SUITE_data/rest_patch_resource.erl
+++ b/test/http_SUITE_data/rest_patch_resource.erl
@@ -8,7 +8,7 @@
-export([patch_text_plain/2]).
init(Req, Opts) ->
- {rest, Req, Opts}.
+ {cowboy_rest, Req, Opts}.
allowed_methods(Req, State) ->
{[<<"HEAD">>, <<"GET">>, <<"PATCH">>], Req, State}.