harbor/src/common/scheduler/task/replication_task_test.go

15 lines
181 B
Go

package task
import "testing"
func TestReplicationTask(t *testing.T) {
tk := NewReplicationTask()
if tk == nil {
t.Fail()
}
if tk.Name() != "replication" {
t.Fail()
}
}