Files
EdgeAPI/internal/setup/setup_test.go
GoEdgeLab 5a17ae9d79 v1.4.1
2024-07-27 14:15:25 +08:00

21 lines
298 B
Go

package setup
import (
"testing"
_ "github.com/iwind/TeaGo/bootstrap"
)
func TestSetup_Run(t *testing.T) {
setup := NewSetup(&Config{
APINodeProtocol: "http",
APINodeHost: "127.0.0.1",
APINodePort: 8003,
})
err := setup.Run()
if err != nil {
t.Fatal(err)
}
t.Log("OK")
}