mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-04 21:50:28 +08:00
16 lines
224 B
Go
16 lines
224 B
Go
|
|
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")
|
||
|
|
}
|