插件-test config

This commit is contained in:
李子铭 2024-08-22 18:40:19 +08:00
parent 55e03af21e
commit 3c164f1713
1 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,14 @@ func config() []byte {
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) {
request := &proto.OrderRequest{
Config: config(),