add methods for getting stocks and products reports, make tests run parallel

This commit is contained in:
diPhantxm
2023-03-17 21:14:31 +03:00
parent 0a3eaddf22
commit cf9eae4bef
12 changed files with 231 additions and 3 deletions

View File

@@ -8,6 +8,8 @@ import (
)
func TestListUnprocessedShipments(t *testing.T) {
t.Parallel()
tests := []struct {
statusCode int
headers map[string]string
@@ -177,6 +179,8 @@ func TestListUnprocessedShipments(t *testing.T) {
}
func TestGetFBSShipmentsList(t *testing.T) {
t.Parallel()
tests := []struct {
statusCode int
headers map[string]string
@@ -286,6 +290,8 @@ func TestGetFBSShipmentsList(t *testing.T) {
}
func TestPackOrder(t *testing.T) {
t.Parallel()
tests := []struct {
statusCode int
headers map[string]string
@@ -345,6 +351,8 @@ func TestPackOrder(t *testing.T) {
}
func TestValidateLabelingCodes(t *testing.T) {
t.Parallel()
tests := []struct {
statusCode int
headers map[string]string