Files
EdgeAPI/internal/db/models/node_login_dao_test.go

18 lines
289 B
Go
Raw Normal View History

2020-07-22 22:17:53 +08:00
package models
import (
_ "github.com/go-sql-driver/mysql"
2021-08-14 18:07:20 +08:00
"github.com/iwind/TeaGo/dbs"
"testing"
2020-07-22 22:17:53 +08:00
)
2021-08-14 18:07:20 +08:00
func TestNodeLoginDAO_FindFrequentPorts(t *testing.T) {
dbs.NotifyReady()
ports, err := SharedNodeLoginDAO.FindFrequentPorts(nil)
if err != nil {
t.Fatal(err)
}
t.Log(ports)
}