mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-03 15:00:26 +08:00
18 lines
268 B
Go
18 lines
268 B
Go
package nodes
|
|
|
|
import (
|
|
"github.com/TeaOSLab/EdgeCommon/pkg/nodeconfigs"
|
|
"testing"
|
|
)
|
|
|
|
func TestTOAManager_Run(t *testing.T) {
|
|
manager := NewTOAManager()
|
|
err := manager.Run(&nodeconfigs.TOAConfig{
|
|
IsOn: true,
|
|
})
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
t.Log("ok")
|
|
}
|