We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dbe640 commit af1d8a5Copy full SHA for af1d8a5
http/router/httprouter/httprouter_test.go
@@ -63,7 +63,7 @@ func TestWithAutherFailed(t *testing.T) {
63
r.AddProtected("GET", "/", IndexHandler)
64
r.ServeHTTP(w, req)
65
66
- should.Equal(w.Code, 403)
+ should.Equal(401, w.Code)
67
}
68
69
func TestWithAutherOK(t *testing.T) {
0 commit comments