Created
This commit is contained in:
17
product_variation_test.go
Normal file
17
product_variation_test.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package woogo
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"git.cloudyne.io/go/hiscaler-gox/jsonx"
|
||||
)
|
||||
|
||||
func TestProductVariationService_All(t *testing.T) {
|
||||
params := ProductVariationsQueryParams{}
|
||||
items, _, _, _, err := wooClient.Services.ProductVariation.All(1, params)
|
||||
if err != nil {
|
||||
t.Errorf("wooClient.Services.ProductVariation.All: %s", err.Error())
|
||||
} else {
|
||||
t.Logf("items: %s", jsonx.ToPrettyJson(items))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user