Browse Source

Fix the static_handler test suite

Bad requests correctly return 400, not 500.
Loïc Hoguin 7 years ago
parent
commit
fb13e5c9e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/static_handler_SUITE.erl

+ 1 - 1
test/static_handler_SUITE.erl

@@ -797,7 +797,7 @@ unicode_basic_error(Config) ->
 		http2 -> "#?"
 	end,
 	_ = [case do_get("/char/" ++ [C], Config) of
-		{500, _, _} -> ok;
+		{400, _, _} -> ok;
 		Error -> exit({error, C, Error})
 	end || C <- (config(chars, Config) -- Exclude) --
 		"abcdefghijklmnopqrstuvwxyz"