Files
EdgeAdmin/internal/tasks/task_sync_api_nodes_test.go

16 lines
224 B
Go
Raw Normal View History

2021-02-24 09:00:12 +08:00
package tasks
import (
_ "github.com/iwind/TeaGo/bootstrap"
"testing"
)
func TestSyncAPINodesTask_Loop(t *testing.T) {
task := NewSyncAPINodesTask()
err := task.Loop()
if err != nil {
t.Fatal(err)
}
t.Log("ok")
}