This commit is contained in:
scheibling
2025-04-08 19:24:11 +02:00
commit 30fb57f4f7
92 changed files with 6196 additions and 0 deletions

32
data_test.go Normal file
View File

@@ -0,0 +1,32 @@
package woogo
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestDataService_All(t *testing.T) {
_, err := wooClient.Services.Data.All()
assert.Equal(t, nil, err)
}
func TestDataService_Countries(t *testing.T) {
_, err := wooClient.Services.Data.Countries()
assert.Equal(t, nil, err)
}
func TestDataService_Currencies(t *testing.T) {
_, err := wooClient.Services.Data.Currencies()
assert.Equal(t, nil, err)
}
func TestDataService_Continents(t *testing.T) {
_, err := wooClient.Services.Data.Continents()
assert.Equal(t, nil, err)
}
func TestDataService_Continent(t *testing.T) {
_, err := wooClient.Services.Data.Continent("AF")
assert.Equal(t, nil, err)
}