diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/product/chair.json | 6 | ||||
-rw-r--r-- | tests/product/dumb_sofa.json | 4 | ||||
-rw-r--r-- | tests/product/smart_sofa.json | 6 | ||||
-rw-r--r-- | tests/requests.txt | 21 | ||||
-rw-r--r-- | tests/users/add_akshay.json | 8 | ||||
-rw-r--r-- | tests/users/add_user.json | 7 |
6 files changed, 0 insertions, 52 deletions
diff --git a/tests/product/chair.json b/tests/product/chair.json deleted file mode 100644 index bb13c8b..0000000 --- a/tests/product/chair.json +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | { | ||
2 | "name": "Urban Ladder Teak Chair", | ||
3 | "kind": "Chair", | ||
4 | "price": 3500, | ||
5 | "description": "Sleek, modern chair for offices and workplaces" | ||
6 | } | ||
diff --git a/tests/product/dumb_sofa.json b/tests/product/dumb_sofa.json deleted file mode 100644 index 2b09a58..0000000 --- a/tests/product/dumb_sofa.json +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | { | ||
2 | "name": "Home Town Leather Sofa", | ||
3 | "price": 5400 | ||
4 | } | ||
diff --git a/tests/product/smart_sofa.json b/tests/product/smart_sofa.json deleted file mode 100644 index 5d7f7d4..0000000 --- a/tests/product/smart_sofa.json +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | { | ||
2 | "name": "Home Town Leather Sofa", | ||
3 | "kind": "Sofa", | ||
4 | "description": "Comfortable, authentic leather, wooden frame sofa, for living rooms", | ||
5 | "price": 5400 | ||
6 | } | ||
diff --git a/tests/requests.txt b/tests/requests.txt deleted file mode 100644 index 7e2ca5c..0000000 --- a/tests/requests.txt +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | http POST :7878/user/login username=akshay password=password | ||
2 | |||
3 | http POST :7878/user/login username=akshay password=nigga | ||
4 | |||
5 | http POST :7878/user/change_password Cookie: old_password=nigga new_password=nigga | ||
6 | |||
7 | http :7878/user/change_password username=akshay password=password | ||
8 | |||
9 | http :7878/product/catalog | ||
10 | |||
11 | http :7878/product/1 | ||
12 | |||
13 | http POST :7878/cart/add Cookie: product_id:=1 | ||
14 | |||
15 | http :7878/cart/items Cookie: | ||
16 | |||
17 | http POST :7878/cart/remove Cookie: product_id:=1 | ||
18 | |||
19 | http POST :7878/rating/add Cookie: product_id:=1 stars:=3 comment_text=Very good functional chair | ||
20 | |||
21 | http :7878/product/reviews/1 | ||
diff --git a/tests/users/add_akshay.json b/tests/users/add_akshay.json deleted file mode 100644 index 1d6c405..0000000 --- a/tests/users/add_akshay.json +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | |||
2 | { | ||
3 | "username": "Akshay", | ||
4 | "password": "akshay", | ||
5 | "phone_number": "123454234", | ||
6 | "email_id": "[email protected]", | ||
7 | "address": "Rv College of Engineering, Mysuru Road, 560087, Near Metro station" | ||
8 | } | ||
diff --git a/tests/users/add_user.json b/tests/users/add_user.json deleted file mode 100644 index 1f481e9..0000000 --- a/tests/users/add_user.json +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | { | ||
2 | "username": "Ramu Kaka", | ||
3 | "password": "ramu123", | ||
4 | "phone_number": "123454234", | ||
5 | "email_id": "[email protected]", | ||
6 | "address": "RA-602, Purva Riviera" | ||
7 | } | ||