Files
EdgeAdmin/internal/tasks/task_sync_api_nodes_test.go
GoEdgeLab d7d0c8fbfe v1.4.1
2024-07-27 15:42:58 +08:00

17 lines
225 B
Go

package tasks
import (
"testing"
_ "github.com/iwind/TeaGo/bootstrap"
)
func TestSyncAPINodesTask_Loop(t *testing.T) {
task := NewSyncAPINodesTask()
err := task.Loop()
if err != nil {
t.Fatal(err)
}
t.Log("ok")
}