From 2a905e9bda3df9260602fb68e9415a3ad4e0cecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 21 Oct 2017 13:12:36 +0100 Subject: Add a metrics test when the handler didn't send anything Also fix a test group to use h2 instead of HTTP/1.1. --- test/handlers/default_h.erl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/handlers/default_h.erl (limited to 'test/handlers') diff --git a/test/handlers/default_h.erl b/test/handlers/default_h.erl new file mode 100644 index 0000000..b89c31b --- /dev/null +++ b/test/handlers/default_h.erl @@ -0,0 +1,8 @@ +%% This module does not do anything. + +-module(default_h). + +-export([init/2]). + +init(Req, Opts) -> + {ok, Req, Opts}. -- cgit v1.2.3