File size: 386 Bytes
530729e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
package gf
import (
"net/http"
"testing"
"github.com/GoAdminGroup/go-admin/tests/common"
"github.com/gavv/httpexpect"
)
func TestGf2(t *testing.T) {
common.ExtraTest(httpexpect.WithConfig(httpexpect.Config{
Client: &http.Client{
Transport: httpexpect.NewBinder(internalHandler()),
Jar: httpexpect.NewJar(),
},
Reporter: httpexpect.NewAssertReporter(t),
}))
}
|