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

21
report_test.go Normal file
View File

@@ -0,0 +1,21 @@
package woogo
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestReportService_All(t *testing.T) {
_, err := wooClient.Services.Report.All()
assert.Equal(t, nil, err)
}
func TestReportService_SalesReports(t *testing.T) {
req := SalesReportsQueryParams{
DateMin: "2022-01-01",
DateMax: "2022-01-01",
}
_, err := wooClient.Services.Report.SalesReports(req)
assert.Equal(t, nil, err)
}