aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_SUITE_data/rest_forbidden_resource.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/http_SUITE_data/rest_forbidden_resource.erl')
-rw-r--r--test/http_SUITE_data/rest_forbidden_resource.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/http_SUITE_data/rest_forbidden_resource.erl b/test/http_SUITE_data/rest_forbidden_resource.erl
index 920ba31..d055193 100644
--- a/test/http_SUITE_data/rest_forbidden_resource.erl
+++ b/test/http_SUITE_data/rest_forbidden_resource.erl
@@ -27,5 +27,4 @@ to_text(Req, State) ->
{<<"This is REST!">>, Req, State}.
from_text(Req, State) ->
- {Path, Req2} = cowboy_req:path(Req),
- {{true, Path}, Req2, State}.
+ {{true, cowboy_req:path(Req)}, Req, State}.