loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(tests): fix testing failure caused by dep update (#7376)

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7376
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>

0ko 49ea851d fed2d81c

+3 -3
+3 -3
tests/integration/devtest_error_test.go
··· 28 28 req := NewRequest(t, "GET", "/devtest/error/500") 29 29 resp := MakeRequest(t, req, http.StatusInternalServerError) 30 30 doc := NewHTMLParser(t, resp.Body) 31 - assert.EqualValues(t, "500", doc.Find(".error-code").Text()) 31 + assert.Equal(t, "500", doc.Find(".error-code").Text()) 32 32 assert.Contains(t, doc.Find("head title").Text(), "Internal server error") 33 33 }) 34 34 ··· 39 39 SetHeader("Accept", "text/html") 40 40 resp := MakeRequest(t, req, http.StatusNotFound) 41 41 doc := NewHTMLParser(t, resp.Body) 42 - assert.EqualValues(t, "404", doc.Find(".error-code").Text()) 42 + assert.Equal(t, "404", doc.Find(".error-code").Text()) 43 43 assert.Contains(t, doc.Find("head title").Text(), "Page not found") 44 44 }) 45 45 ··· 48 48 req := NewRequest(t, "GET", "/devtest/error/413") 49 49 resp := MakeRequest(t, req, http.StatusRequestEntityTooLarge) 50 50 doc := NewHTMLParser(t, resp.Body) 51 - assert.EqualValues(t, "413", doc.Find(".error-code").Text()) 51 + assert.Equal(t, "413", doc.Find(".error-code").Text()) 52 52 }) 53 53 }