admin / tests /frameworks /gofiber /gofiber_test.go
AZLABS's picture
Upload folder using huggingface_hub
530729e verified
raw
history blame contribute delete
399 Bytes
package gofiber
import (
"net/http"
"testing"
"github.com/GoAdminGroup/go-admin/tests/common"
"github.com/gavv/httpexpect"
)
func TestGofiber(t *testing.T) {
common.ExtraTest(httpexpect.WithConfig(httpexpect.Config{
Client: &http.Client{
Transport: httpexpect.NewFastBinder(internalHandler()),
Jar: httpexpect.NewJar(),
},
Reporter: httpexpect.NewAssertReporter(t),
}))
}