diff options
Diffstat (limited to 'test/http_SUITE_data')
-rw-r--r-- | test/http_SUITE_data/rest_patch_resource.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/http_SUITE_data/rest_patch_resource.erl b/test/http_SUITE_data/rest_patch_resource.erl index 03f780f..c1244e7 100644 --- a/test/http_SUITE_data/rest_patch_resource.erl +++ b/test/http_SUITE_data/rest_patch_resource.erl @@ -29,8 +29,8 @@ content_types_accepted(Req, State) -> patch_text_plain(Req, State) -> case cowboy_req:body(Req) of - {ok, <<"halt">>, Req0} -> - {halt, cowboy_req:reply(400, Req0), State}; + {ok, <<"stop">>, Req0} -> + {stop, cowboy_req:reply(400, Req0), State}; {ok, <<"false">>, Req0} -> {false, Req0, State}; {ok, _Body, Req0} -> |