插件-test config
This commit is contained in:
parent
55e03af21e
commit
3c164f1713
|
@ -22,6 +22,14 @@ func config() []byte {
|
||||||
return marshal
|
return marshal
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestConfig(t *testing.T) {
|
||||||
|
t.Run("TestConfig", func(t *testing.T) {
|
||||||
|
c := config()
|
||||||
|
fmt.Printf("%+s\n", string(c))
|
||||||
|
assert.NotEmpty(t, c)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
func TestOrder(t *testing.T) {
|
func TestOrder(t *testing.T) {
|
||||||
request := &proto.OrderRequest{
|
request := &proto.OrderRequest{
|
||||||
Config: config(),
|
Config: config(),
|
||||||
|
|
Loading…
Reference in New Issue