aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/tests/product/bed.json9
-rw-r--r--backend/tests/product/desktop_table.json8
-rw-r--r--backend/tests/product/dining_set.json8
-rw-r--r--backend/tests/product/lamp.json8
-rw-r--r--backend/tests/product/office_chair.json8
-rw-r--r--backend/tests/requests.txt2
6 files changed, 43 insertions, 0 deletions
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 @@
1{
2 "name": "Queen size bed",
3 "kind": "Bed",
4 "price": 13039,
5 "description": "Space wood riva queen size engineered wood bed.",
6 "src": "https://poly.googleusercontent.com/downloads/c/fp/1606938083820086/9ycLAR71SmR/7wwOehn8nNN/Bedroom.gltf",
7 "ios_src": "https://poly.googleusercontent.com/downloads/c/fp/1606938083820086/9ycLAR71SmR/cTuWg1jk4jo/Bedroom.usdz"
8}
9
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 @@
1{
2 "name": "Desktop Table",
3 "kind": "Table",
4 "price":5000,
5 "description": "Frosty white color desktop table for home and office.",
6 "src": "https://poly.googleusercontent.com/downloads/c/fp/1608736787376118/dptlMEX4tF_/8Frv3e4CMZN/Desk.gltf",
7 "ios_src": "https://poly.googleusercontent.com/downloads/c/fp/1608736787376118/dptlMEX4tF_/ddKwIIlP7wP/Desk.usdz"
8}
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 @@
1{
2 "name": "Elegant dining set",
3 "kind": "Table",
4 "price":12774,
5 "description": "4 seater dining table with fine plastic coating.",
6 "src": "https://poly.googleusercontent.com/downloads/c/fp/1600856054929350/bHjkRMMJERm/7rkey9sq6SO/126.gltf",
7 "ios_src": "https://poly.googleusercontent.com/downloads/c/fp/1600856054929350/bHjkRMMJERm/956ivUBFdC8/126.usdz"
8}
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 @@
1{
2 "name": "Table Lamp",
3 "kind": "Lamp",
4 "price": 704,
5 "description": "Khadi shade and beautiful table lamp for bedroom and drawing room.",
6 "src": "https://poly.googleusercontent.com/downloads/c/fp/1607300741879262/23XivszLV11/bB3D3IP09yB/536%20Lamp.gltf",
7 "ios_src": "https://poly.googleusercontent.com/downloads/c/fp/1607300741879262/23XivszLV11/ed0Zennw7S2/536%20Lamp.usdz"
8}
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 @@
1{
2 "name": "Office Chair",
3 "kind": "Chair",
4 "price": 7500,
5 "description": "Web high back mesh ergonomic chair with adjustable arms.",
6 "src": "https://poly.googleusercontent.com/downloads/c/fp/1604319469638009/38n7Szxi5q4/07E0CyiGrXc/model.gltf",
7 "ios_src": "https://poly.googleusercontent.com/downloads/c/fp/1604319469638009/38n7Szxi5q4/fCip0bysPo5/model.usdz"
8}
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
21http :7878/product/reviews/1 21http :7878/product/reviews/1
22 22
23http :7878/transaction/list Cookie: 23http :7878/transaction/list Cookie:
24
25http :7878/user/profile