add methods for getting stocks and products reports, make tests run parallel
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user