xxxxxxx
This commit is contained in:
parent
b751fc5eb4
commit
61af9f0c8b
5 changed files with 118 additions and 65 deletions
|
@ -287,6 +287,7 @@ func TestRunAll(t *testing.T) {
|
|||
var err error
|
||||
jar, _ := cookiejar.New(&cookiejar.Options{PublicSuffixList: publicsuffix.List})
|
||||
testclient.Jar = jar
|
||||
|
||||
sessopts := &session.SessOpts{
|
||||
CookieName: sid,
|
||||
MaxLifetime: 180, Ssl: true,
|
||||
|
@ -295,9 +296,10 @@ func TestRunAll(t *testing.T) {
|
|||
if sm, err = session.NewManager(pn, sessopts, nil); err != nil {
|
||||
t.Errorf("Session provider %s failed initialize err: %v", pn, err)
|
||||
}
|
||||
|
||||
fns := []func(t *testing.T){t1, t2, t3, t4, t5, t6, t7, t8, t9}
|
||||
for idx, fn := range fns {
|
||||
t.Run(fmt.Sprintf("Test%d", idx+1), fn)
|
||||
t.Run(fmt.Sprintf("Test-%d-prv-%s", idx+1, pn), fn)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue