Files
woogo/report_test.go

22 lines
415 B
Go
Raw Permalink Normal View History

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