This repository has been archived on 2026-07-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
GoEdgeAPI/internal/db/models/ns_cluster_dao_test.go
T

20 lines
323 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")
}