From e377c4fd03f89ee8c154b2d9dde5d171db183593 Mon Sep 17 00:00:00 2001 From: aboots Date: Fri, 26 Jun 2020 21:09:59 +0430 Subject: [PATCH] debug and test --- Resources/Products/product_7.json | 2 +- Resources/ProductsInfo/productInfo_7_yasaman.json | 2 +- TestResources/Discounts/dis_GiMQAzpkp9VEXuz.json | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 TestResources/Discounts/dis_GiMQAzpkp9VEXuz.json diff --git a/Resources/Products/product_7.json b/Resources/Products/product_7.json index 8ddd1103..18eb0fea 100644 --- a/Resources/Products/product_7.json +++ b/Resources/Products/product_7.json @@ -1 +1 @@ -{"goodId":7,"goodStatus":"CONFIRMED","name":"DCT100","brand":"OMEN","averageRate":10.0,"subCategory":"laptop","sellerRelatedInfoAboutGoods":[7],"details":"very good","comments":[],"seenNumber":9,"modificationDate":{"year":2020,"month":6,"day":13},"categoryProperties":{"battery lifespan":"6 hours","weight":"2400 gr","cpu":"core i7 intel","GPU":"RTX 2070 TI","ram":"32 G"}} \ No newline at end of file +{"goodId":7,"goodStatus":"NOTAVAILABLE","name":"DCT100","brand":"OMEN","averageRate":10.0,"subCategory":"laptop","sellerRelatedInfoAboutGoods":[7],"details":"very good","comments":[],"seenNumber":12,"modificationDate":{"year":2020,"month":6,"day":13},"categoryProperties":{"battery lifespan":"6 hours","weight":"2400 gr","cpu":"core i7 intel","GPU":"RTX 2070 TI","ram":"32 G"}} \ No newline at end of file diff --git a/Resources/ProductsInfo/productInfo_7_yasaman.json b/Resources/ProductsInfo/productInfo_7_yasaman.json index ae5730e3..9ba97113 100644 --- a/Resources/ProductsInfo/productInfo_7_yasaman.json +++ b/Resources/ProductsInfo/productInfo_7_yasaman.json @@ -1 +1 @@ -{"sellerRelatedInfoAboutGoodId":7,"seller":"yasaman","price":450000,"availableNumber":8} \ No newline at end of file +{"sellerRelatedInfoAboutGoodId":7,"seller":"yasaman","price":450000,"availableNumber":0} \ No newline at end of file diff --git a/TestResources/Discounts/dis_GiMQAzpkp9VEXuz.json b/TestResources/Discounts/dis_GiMQAzpkp9VEXuz.json new file mode 100644 index 00000000..a8b52105 --- /dev/null +++ b/TestResources/Discounts/dis_GiMQAzpkp9VEXuz.json @@ -0,0 +1 @@ +{"id":4,"code":"GiMQAzpkp9VEXuz","startDate":{"year":2020,"month":6,"day":26},"endDate":{"year":2020,"month":8,"day":26},"maxDiscountAmount":100000,"discountPercent":20,"includedCustomers":{"yasaman5":1,"yasaman4":1,"yasaman1":1,"yasaman3":1,"yasaman2":1}} \ No newline at end of file