41 lines
579 B
Go
41 lines
579 B
Go
|
package service
|
||
|
|
||
|
import (
|
||
|
"github.com/gin-gonic/gin"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestCoChain(t *testing.T) {
|
||
|
type args struct {
|
||
|
c *gin.Context
|
||
|
}
|
||
|
tests := []struct {
|
||
|
name string
|
||
|
args args
|
||
|
}{
|
||
|
// TODO: Add test cases.
|
||
|
}
|
||
|
for _, tt := range tests {
|
||
|
t.Run(tt.name, func(t *testing.T) {
|
||
|
CoChain(tt.args.c)
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func TestCreateCert(t *testing.T) {
|
||
|
type args struct {
|
||
|
c *gin.Context
|
||
|
}
|
||
|
tests := []struct {
|
||
|
name string
|
||
|
args args
|
||
|
}{
|
||
|
// TODO: Add test cases.
|
||
|
}
|
||
|
for _, tt := range tests {
|
||
|
t.Run(tt.name, func(t *testing.T) {
|
||
|
CreateCert(tt.args.c)
|
||
|
})
|
||
|
}
|
||
|
}
|