From 0223f69fcd2252a4b686b2815e6ee287b1484551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 22 Nov 2018 00:12:18 +0100 Subject: Move the final old HTTP suite tests and remove it --- .../rest_post_charset_resource.erl | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 test/old_http_SUITE_data/rest_post_charset_resource.erl (limited to 'test/old_http_SUITE_data/rest_post_charset_resource.erl') diff --git a/test/old_http_SUITE_data/rest_post_charset_resource.erl b/test/old_http_SUITE_data/rest_post_charset_resource.erl deleted file mode 100644 index 0be6aa3..0000000 --- a/test/old_http_SUITE_data/rest_post_charset_resource.erl +++ /dev/null @@ -1,19 +0,0 @@ --module(rest_post_charset_resource). - --export([init/2]). --export([allowed_methods/2]). --export([content_types_accepted/2]). --export([from_text/2]). - -init(Req, Opts) -> - {cowboy_rest, Req, Opts}. - -allowed_methods(Req, State) -> - {[<<"POST">>], Req, State}. - -content_types_accepted(Req, State) -> - {[{{<<"text">>, <<"plain">>, [{<<"charset">>, <<"utf-8">>}]}, - from_text}], Req, State}. - -from_text(Req, State) -> - {true, Req, State}. -- cgit v1.2.3