From ab3ddc1fae1364afeefc0d2c30d8e11a31839948 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 27 Dec 2020 16:56:52 +0530 Subject: moar sample data --- backend/tests/product/bed.json | 9 +++++++++ backend/tests/product/desktop_table.json | 8 ++++++++ backend/tests/product/dining_set.json | 8 ++++++++ backend/tests/product/lamp.json | 8 ++++++++ backend/tests/product/office_chair.json | 8 ++++++++ backend/tests/requests.txt | 2 ++ 6 files changed, 43 insertions(+) create mode 100644 backend/tests/product/bed.json create mode 100644 backend/tests/product/desktop_table.json create mode 100644 backend/tests/product/dining_set.json create mode 100644 backend/tests/product/lamp.json create mode 100644 backend/tests/product/office_chair.json (limited to 'backend/tests') diff --git a/backend/tests/product/bed.json b/backend/tests/product/bed.json new file mode 100644 index 0000000..5610c4f --- /dev/null +++ b/backend/tests/product/bed.json @@ -0,0 +1,9 @@ +{ + "name": "Queen size bed", + "kind": "Bed", + "price": 13039, + "description": "Space wood riva queen size engineered wood bed.", + "src": "https://poly.googleusercontent.com/downloads/c/fp/1606938083820086/9ycLAR71SmR/7wwOehn8nNN/Bedroom.gltf", + "ios_src": "https://poly.googleusercontent.com/downloads/c/fp/1606938083820086/9ycLAR71SmR/cTuWg1jk4jo/Bedroom.usdz" +} + diff --git a/backend/tests/product/desktop_table.json b/backend/tests/product/desktop_table.json new file mode 100644 index 0000000..831a3a5 --- /dev/null +++ b/backend/tests/product/desktop_table.json @@ -0,0 +1,8 @@ +{ + "name": "Desktop Table", + "kind": "Table", + "price":5000, + "description": "Frosty white color desktop table for home and office.", + "src": "https://poly.googleusercontent.com/downloads/c/fp/1608736787376118/dptlMEX4tF_/8Frv3e4CMZN/Desk.gltf", + "ios_src": "https://poly.googleusercontent.com/downloads/c/fp/1608736787376118/dptlMEX4tF_/ddKwIIlP7wP/Desk.usdz" +} diff --git a/backend/tests/product/dining_set.json b/backend/tests/product/dining_set.json new file mode 100644 index 0000000..dd9da13 --- /dev/null +++ b/backend/tests/product/dining_set.json @@ -0,0 +1,8 @@ +{ + "name": "Elegant dining set", + "kind": "Table", + "price":12774, + "description": "4 seater dining table with fine plastic coating.", + "src": "https://poly.googleusercontent.com/downloads/c/fp/1600856054929350/bHjkRMMJERm/7rkey9sq6SO/126.gltf", + "ios_src": "https://poly.googleusercontent.com/downloads/c/fp/1600856054929350/bHjkRMMJERm/956ivUBFdC8/126.usdz" +} diff --git a/backend/tests/product/lamp.json b/backend/tests/product/lamp.json new file mode 100644 index 0000000..455998e --- /dev/null +++ b/backend/tests/product/lamp.json @@ -0,0 +1,8 @@ +{ + "name": "Table Lamp", + "kind": "Lamp", + "price": 704, + "description": "Khadi shade and beautiful table lamp for bedroom and drawing room.", + "src": "https://poly.googleusercontent.com/downloads/c/fp/1607300741879262/23XivszLV11/bB3D3IP09yB/536%20Lamp.gltf", + "ios_src": "https://poly.googleusercontent.com/downloads/c/fp/1607300741879262/23XivszLV11/ed0Zennw7S2/536%20Lamp.usdz" +} diff --git a/backend/tests/product/office_chair.json b/backend/tests/product/office_chair.json new file mode 100644 index 0000000..eb14f7a --- /dev/null +++ b/backend/tests/product/office_chair.json @@ -0,0 +1,8 @@ +{ + "name": "Office Chair", + "kind": "Chair", + "price": 7500, + "description": "Web high back mesh ergonomic chair with adjustable arms.", + "src": "https://poly.googleusercontent.com/downloads/c/fp/1604319469638009/38n7Szxi5q4/07E0CyiGrXc/model.gltf", + "ios_src": "https://poly.googleusercontent.com/downloads/c/fp/1604319469638009/38n7Szxi5q4/fCip0bysPo5/model.usdz" +} diff --git a/backend/tests/requests.txt b/backend/tests/requests.txt index 0ce1cb9..a97e2ac 100644 --- a/backend/tests/requests.txt +++ b/backend/tests/requests.txt @@ -21,3 +21,5 @@ http POST :7878/rating/add Cookie: product_id:=1 stars:=3 comment_text=Very good http :7878/product/reviews/1 http :7878/transaction/list Cookie: + +http :7878/user/profile -- cgit v1.2.3