Change to trace and make a deploy for tickle
This commit is contained in:
@@ -227,8 +227,8 @@ func TestWho(t *testing.T) {
|
||||
t.Logf("%s", w.Body.Bytes())
|
||||
})
|
||||
|
||||
t.Run("head fake", func(t *testing.T) {
|
||||
r := httptest.NewRequest(http.MethodHead, "/who/notcol", nil)
|
||||
t.Run("trace fake", func(t *testing.T) {
|
||||
r := httptest.NewRequest(http.MethodTrace, "/who/notcol", nil)
|
||||
w := httptest.NewRecorder()
|
||||
handler.ServeHTTP(w, r)
|
||||
if w.Code != http.StatusOK {
|
||||
@@ -236,8 +236,8 @@ func TestWho(t *testing.T) {
|
||||
}
|
||||
})
|
||||
|
||||
t.Run("head real", func(t *testing.T) {
|
||||
r := httptest.NewRequest(http.MethodHead, "/who/col", nil)
|
||||
t.Run("trace real", func(t *testing.T) {
|
||||
r := httptest.NewRequest(http.MethodTrace, "/who/col", nil)
|
||||
w := httptest.NewRecorder()
|
||||
handler.ServeHTTP(w, r)
|
||||
if w.Code != http.StatusOK {
|
||||
|
||||
Reference in New Issue
Block a user