From d64903be8b1b8ec947b9d1e5af17a88b67e1b12a Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Mon, 9 Oct 2023 13:21:32 +0200 Subject: [PATCH] temporary adding debug for codecov tests --- src/webserver_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/webserver_test.go b/src/webserver_test.go index af4dfd83..c937fd76 100644 --- a/src/webserver_test.go +++ b/src/webserver_test.go @@ -2,6 +2,7 @@ package main import ( "errors" + "fmt" "net/http" "net/http/httptest" "testing" @@ -46,6 +47,7 @@ func TestFakeToUpCodeCoverage(t *testing.T) { c, _ = gin.CreateTestContext(w) tibiaCreaturesOverview(c) + fmt.Println("tibiaCreaturesOverview", c) assert.Equal(http.StatusOK, w.Code) w = httptest.NewRecorder() @@ -59,6 +61,7 @@ func TestFakeToUpCodeCoverage(t *testing.T) { } tibiaCreaturesCreature(c) + fmt.Println("tibiaCreaturesCreature", c) assert.Equal(http.StatusOK, w.Code) w = httptest.NewRecorder() @@ -78,6 +81,7 @@ func TestFakeToUpCodeCoverage(t *testing.T) { } tibiaGuildsGuild(c) + fmt.Println("tibiaGuildsGuild", c) assert.Equal(http.StatusOK, w.Code) w = httptest.NewRecorder() @@ -116,6 +120,7 @@ func TestFakeToUpCodeCoverage(t *testing.T) { } tibiaHighscores(c) + fmt.Println("tibiaHighscores", c) assert.Equal(http.StatusOK, w.Code) w = httptest.NewRecorder()