Initial commit (code only without large binaries)
This commit is contained in:
16
EdgeNode/internal/nodes/task_ocsp_update_test.go
Normal file
16
EdgeNode/internal/nodes/task_ocsp_update_test.go
Normal file
@@ -0,0 +1,16 @@
|
||||
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||
|
||||
package nodes_test
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeNode/internal/nodes"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestOCSPUpdateTask_Loop(t *testing.T) {
|
||||
var task = &nodes.OCSPUpdateTask{}
|
||||
err := task.Loop()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user