feat: refactor.
This commit is contained in:
13
registry/kubernetes/client_test.go
Normal file
13
registry/kubernetes/client_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package kubernetes
|
||||
|
||||
import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
conf "github.com/tx7do/kratos-bootstrap/api/gen/go/conf/v1"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestNewKubernetesRegistry(t *testing.T) {
|
||||
var cfg conf.Registry
|
||||
reg := NewRegistry(&cfg)
|
||||
assert.Nil(t, reg)
|
||||
}
|
||||
Reference in New Issue
Block a user