Files
waf-platform/EdgeAPI/internal/db/models/ns_cluster_dao_test.go
2026-02-04 20:27:13 +08:00

19 lines
322 B
Go

package models
import (
_ "github.com/go-sql-driver/mysql"
_ "github.com/iwind/TeaGo/bootstrap"
"github.com/iwind/TeaGo/dbs"
"testing"
)
func TestNSClusterDAO_DisableNodeCluster(t *testing.T) {
dbs.NotifyReady()
err := SharedNSClusterDAO.DisableNSCluster(nil, 7)
if err != nil {
t.Fatal(err)
}
t.Log("ok")
}