Files
EdgeAdmin/internal/tasks/task_sync_api_nodes_test.go

17 lines
225 B
Go
Raw Normal View History

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