云闪付

This commit is contained in:
李子铭 2024-09-13 17:10:43 +08:00
parent 686b1e54cf
commit de76bd806d
2 changed files with 16 additions and 0 deletions

View File

@ -21,6 +21,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(),

View File

@ -21,6 +21,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(),