Archived fields for product details and fix filter for GetStockInfo (#94)

Co-authored-by: o.tyurin <o.tyurin@corp.mail.ru>
This commit is contained in:
Zloy_Leshiy
2024-06-03 13:40:55 +03:00
committed by GitHub
parent 9ea138003c
commit b26dd5bbee
2 changed files with 11 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ func TestGetStocksInfo(t *testing.T) {
LastId: "",
Filter: GetStocksInfoFilter{
OfferId: []string{"136834"},
ProductId: 214887921,
ProductId: []int64{214887921},
Visibility: "ALL",
},
},
@@ -251,7 +251,9 @@ func TestGetProductDetails(t *testing.T) {
}
],
"state_updated_at": "2021-10-21T15:48:03.927309Z"
}
},
"is_archived": false,
"is_autoarchived": false
}
}`,
},