mirror of
https://github.com/goharbor/harbor.git
synced 2025-04-04 02:55:48 +02:00
15 lines
181 B
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()
|
|
}
|
|
}
|