commit
3e8a857ba6
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ func TestCheckWriteAccess_InactiveUser(t *testing.T) {
|
||||||
router.Route("/api/repos/{owner}/{name}", func(router chi.Router) {
|
router.Route("/api/repos/{owner}/{name}", func(router chi.Router) {
|
||||||
router.Use(CheckWriteAccess())
|
router.Use(CheckWriteAccess())
|
||||||
router.Get("/", func(w http.ResponseWriter, r *http.Request) {
|
router.Get("/", func(w http.ResponseWriter, r *http.Request) {
|
||||||
t.Error("should not invoke hanlder")
|
t.Error("should not invoke handler")
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue