Skip to content

Commit

Permalink
temporary adding debug for codecov tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasehlert committed Oct 9, 2023
1 parent 2055dd2 commit d64903b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/webserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package main

import (
"errors"
"fmt"
"net/http"
"net/http/httptest"
"testing"
Expand Down Expand Up @@ -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()
Expand All @@ -59,6 +61,7 @@ func TestFakeToUpCodeCoverage(t *testing.T) {
}

tibiaCreaturesCreature(c)
fmt.Println("tibiaCreaturesCreature", c)
assert.Equal(http.StatusOK, w.Code)

w = httptest.NewRecorder()
Expand All @@ -78,6 +81,7 @@ func TestFakeToUpCodeCoverage(t *testing.T) {
}

tibiaGuildsGuild(c)
fmt.Println("tibiaGuildsGuild", c)
assert.Equal(http.StatusOK, w.Code)

w = httptest.NewRecorder()
Expand Down Expand Up @@ -116,6 +120,7 @@ func TestFakeToUpCodeCoverage(t *testing.T) {
}

tibiaHighscores(c)
fmt.Println("tibiaHighscores", c)
assert.Equal(http.StatusOK, w.Code)

w = httptest.NewRecorder()
Expand Down

0 comments on commit d64903b

Please sign in to comment.