File size: 608 Bytes
530729e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
package tests
import (
"testing"
"time"
"github.com/GoAdminGroup/go-admin/modules/config"
"github.com/GoAdminGroup/go-admin/tests/frameworks/gin"
)
func TestBlackBoxTestSuitOfBuiltInTables(t *testing.T) {
BlackBoxTestSuitOfBuiltInTables(t, gin.NewHandler, config.DatabaseList{
"default": {
Host: "127.0.0.1",
Port: "3306",
User: "root",
Pwd: "root",
Name: "go-admin-test",
MaxIdleConns: 50,
MaxOpenConns: 150,
ConnMaxLifetime: time.Hour,
ConnMaxIdleTime: 0,
Driver: config.DriverMysql,
},
})
}
|