mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-08 11:57:51 +00:00
test
This commit is contained in:
parent
db2263465b
commit
1555746ff1
1 changed files with 5 additions and 5 deletions
|
|
@ -108,11 +108,11 @@ func TestAuth(t *testing.T) {
|
|||
w := httptest.NewRecorder()
|
||||
a.Authenticate(w, r)
|
||||
})
|
||||
t.Run("Redirect", func(t *testing.T) {
|
||||
r := httptest.NewRequest(gohttp.MethodGet, "/login", nil)
|
||||
w := httptest.NewRecorder()
|
||||
a.Redirect(w, r)
|
||||
})
|
||||
// t.Run("Redirect", func(t *testing.T) {
|
||||
// r := httptest.NewRequest(gohttp.MethodGet, "/login", nil)
|
||||
// w := httptest.NewRecorder()
|
||||
// a.Redirect(w, r)
|
||||
// })
|
||||
t.Run("GetUserInfo", func(t *testing.T) {
|
||||
r := httptest.NewRequest(gohttp.MethodGet, "/login", nil)
|
||||
a.GetUserInfo(r)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue