loginsrv

Unnamed repository; edit this file 'description' to name the repository.
git clone git@jamesshield.xyz:repos/loginsrv.git
Log | Files | Refs | README | LICENSE

commit da2c6d759d57c329123a9a721c195a1b3ec52e13
parent 1c72f98de336ed4416377bc034c01aa785e38ba4
Author: Sebastian Mancke <s.mancke@tarent.de>
Date:   Tue, 14 Nov 2017 21:48:45 +0100

removed test for {user} log, since it is not in caddy release, yet

Diffstat:
Mcaddy/handler_test.go | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/caddy/handler_test.go b/caddy/handler_test.go @@ -20,8 +20,12 @@ func Test_ServeHTTP_200(t *testing.T) { t.Fatalf("Unable to create request: %v", err) } + /** + TODO: This will only work with the caddy master branch or the next caddy release + // Associate a replacer with the request: r = r.WithContext(context.WithValue(context.Background(), httpserver.ReplacerCtxKey, httpserver.NewReplacer(r, nil, "-"))) + */ //Set the ServeHTTP http.ResponseWriter w := httptest.NewRecorder()