Files
woogo/product_variation_test.go

18 lines
402 B
Go
Raw Permalink Normal View History

2025-04-08 19:24:11 +02:00
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))
}
}