@@ -173,31 +173,31 @@ func TestFakeToUpCodeCoverage(t *testing.T) {
173173 assert .False (false , tibiaNewslistArchiveDays ())
174174 assert .False (false , tibiaNewslistLatest ())
175175
176- w = httptest .NewRecorder ()
177- c , _ = gin .CreateTestContext (w )
178-
179- c .Params = []gin.Param {
180- {
181- Key : "days" ,
182- Value : "90" ,
183- },
184- }
185-
186- tibiaNewslist (c )
187- assert .Equal (http .StatusOK , w .Code )
188-
189- w = httptest .NewRecorder ()
190- c , _ = gin .CreateTestContext (w )
191-
192- c .Params = []gin.Param {
193- {
194- Key : "news_id" ,
195- Value : "6607" ,
196- },
197- }
198-
199- tibiaNews (c )
200- assert .Equal (http .StatusOK , w .Code )
176+ // w = httptest.NewRecorder()
177+ // c, _ = gin.CreateTestContext(w)
178+
179+ // c.Params = []gin.Param{
180+ // {
181+ // Key: "days",
182+ // Value: "90",
183+ // },
184+ // }
185+
186+ // tibiaNewslist(c)
187+ // assert.Equal(http.StatusOK, w.Code)
188+
189+ // w = httptest.NewRecorder()
190+ // c, _ = gin.CreateTestContext(w)
191+
192+ // c.Params = []gin.Param{
193+ // {
194+ // Key: "news_id",
195+ // Value: "6607",
196+ // },
197+ // }
198+
199+ // tibiaNews(c)
200+ // assert.Equal(http.StatusOK, w.Code)
201201
202202 w = httptest .NewRecorder ()
203203 c , _ = gin .CreateTestContext (w )
0 commit comments