Skip to content

Commit af1d8a5

Browse files
committed
fix auth
1 parent 6dbe640 commit af1d8a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http/router/httprouter/httprouter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func TestWithAutherFailed(t *testing.T) {
6363
r.AddProtected("GET", "/", IndexHandler)
6464
r.ServeHTTP(w, req)
6565

66-
should.Equal(w.Code, 403)
66+
should.Equal(401, w.Code)
6767
}
6868

6969
func TestWithAutherOK(t *testing.T) {

0 commit comments

Comments
 (0)