mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-02 03:40:27 +08:00
17 lines
225 B
Go
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")
|
|
}
|