-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Both following tests are failing with 502 instead of an 200.
tibiaNewslist:
tibiadata-api-go/src/webserver_test.go
Lines 176 to 187 in 6f1a6d6
| w = httptest.NewRecorder() | |
| c, _ = gin.CreateTestContext(w) | |
| c.Params = []gin.Param{ | |
| { | |
| Key: "days", | |
| Value: "90", | |
| }, | |
| } | |
| tibiaNewslist(c) | |
| assert.Equal(http.StatusOK, w.Code) |
tibiaNews:
tibiadata-api-go/src/webserver_test.go
Lines 189 to 200 in 6f1a6d6
| w = httptest.NewRecorder() | |
| c, _ = gin.CreateTestContext(w) | |
| c.Params = []gin.Param{ | |
| { | |
| Key: "news_id", | |
| Value: "6607", | |
| }, | |
| } | |
| tibiaNews(c) | |
| assert.Equal(http.StatusOK, w.Code) |
Currently:
Those two test-cases in TestFakeToUpCodeCoverage are commented out for now by #511.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working