Files
EdgeAPI/internal/setup/setup_test.go

21 lines
298 B
Go
Raw Normal View History

2020-10-13 20:05:13 +08:00
package setup
import (
"testing"
2024-07-27 14:15:25 +08:00
_ "github.com/iwind/TeaGo/bootstrap"
2020-10-13 20:05:13 +08:00
)
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")
}