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 TestGetAvailablePromotions(t *testing.T) {
t.Parallel()
tests := []struct {
statusCode int
headers map[string]string
@@ -66,6 +68,8 @@ func TestGetAvailablePromotions(t *testing.T) {
}
func TestAddToPromotion(t *testing.T) {
t.Parallel()
tests := []struct {
statusCode int
headers map[string]string