Skip to content

Commit 162dbb1

Browse files
committed
Removed annoying tests #2
1 parent 39a021d commit 162dbb1

File tree

1 file changed

+18
-122
lines changed

1 file changed

+18
-122
lines changed

PyMatcha.postman_collection.json

Lines changed: 18 additions & 122 deletions
Original file line numberDiff line numberDiff line change
@@ -3656,110 +3656,6 @@
36563656
}
36573657
},
36583658
"response": []
3659-
},
3660-
{
3661-
"name": "No form data",
3662-
"event": [
3663-
{
3664-
"listen": "test",
3665-
"script": {
3666-
"id": "5ed3ecf7-b928-433b-8b33-d9d5711d15d9",
3667-
"exec": [
3668-
"var response = JSON.parse(responseBody);",
3669-
"",
3670-
"",
3671-
"pm.test(\"Status code is 400\", function () {",
3672-
" pm.response.to.have.status(400);",
3673-
"});",
3674-
"",
3675-
"tests[\"JSON return code is 400\"] = response.code == 400",
3676-
"",
3677-
"tests[\"success is false\"] = response.success == false",
3678-
"tests[\"Message is correct\"] = response.error.message == \"No file body passed in request form data\"",
3679-
"tests[\"Error type is Bad Request\"] = response.error.type == \"BadRequestError\""
3680-
],
3681-
"type": "text/javascript"
3682-
}
3683-
}
3684-
],
3685-
"request": {
3686-
"method": "POST",
3687-
"header": [],
3688-
"url": {
3689-
"raw": "{{host}}/profile/images?is_primary=true",
3690-
"host": [
3691-
"{{host}}"
3692-
],
3693-
"path": [
3694-
"profile",
3695-
"images"
3696-
],
3697-
"query": [
3698-
{
3699-
"key": "is_primary",
3700-
"value": "true"
3701-
}
3702-
]
3703-
}
3704-
},
3705-
"response": []
3706-
},
3707-
{
3708-
"name": "No filename passed",
3709-
"event": [
3710-
{
3711-
"listen": "test",
3712-
"script": {
3713-
"id": "796e34f1-1865-44a6-94b2-952bac223588",
3714-
"exec": [
3715-
"var response = JSON.parse(responseBody);",
3716-
"",
3717-
"",
3718-
"pm.test(\"Status code is 400\", function () {",
3719-
" pm.response.to.have.status(400);",
3720-
"});",
3721-
"",
3722-
"tests[\"JSON return code is 400\"] = response.code == 400",
3723-
"",
3724-
"tests[\"success is false\"] = response.success == false",
3725-
"tests[\"Message is correct\"] = response.error.message == \"No file body passed in request form data\"",
3726-
"tests[\"Error type is Bad Request\"] = response.error.type == \"BadRequestError\""
3727-
],
3728-
"type": "text/javascript"
3729-
}
3730-
}
3731-
],
3732-
"request": {
3733-
"method": "POST",
3734-
"header": [],
3735-
"body": {
3736-
"mode": "formdata",
3737-
"formdata": [
3738-
{
3739-
"key": "file[]",
3740-
"type": "file",
3741-
"src": []
3742-
}
3743-
]
3744-
},
3745-
"url": {
3746-
"raw": "{{host}}/profile/images?is_primary=true",
3747-
"host": [
3748-
"{{host}}"
3749-
],
3750-
"path": [
3751-
"profile",
3752-
"images"
3753-
],
3754-
"query": [
3755-
{
3756-
"key": "is_primary",
3757-
"value": "true"
3758-
}
3759-
]
3760-
}
3761-
},
3762-
"response": []
37633659
}
37643660
],
37653661
"protocolProfileBehavior": {},
@@ -6092,92 +5988,92 @@
60925988
],
60935989
"variable": [
60945990
{
6095-
"id": "dbd5ea57-ea0b-4311-9be3-d905bcdabca4",
5991+
"id": "53aff055-946c-43b1-91e6-d1874c8ee43d",
60965992
"key": "host",
60975993
"value": "http://127.0.0.1:5000"
60985994
},
60995995
{
6100-
"id": "3e82ac7a-d332-442a-a8a8-d39856c7ea89",
5996+
"id": "7a0eee2f-8116-47a7-b62c-0be31819b97f",
61015997
"key": "user_id",
61025998
"value": ""
61035999
},
61046000
{
6105-
"id": "09b1aecc-2fee-44a2-a876-447f941033e4",
6001+
"id": "f1e6fb80-91f4-4ef9-8f02-8661cbf2347f",
61066002
"key": "user_email",
61076003
"value": "foo@example.org"
61086004
},
61096005
{
6110-
"id": "668c4556-446c-4f3d-a7e8-ff7380a8ed26",
6006+
"id": "78e811e8-310b-4066-ade2-30246a923885",
61116007
"key": "user_username",
61126008
"value": "foo"
61136009
},
61146010
{
6115-
"id": "d425fd80-82fb-4a9f-b322-a00ae9e4e5d0",
6011+
"id": "bae904c3-7b05-445b-99bd-1420cb5163fe",
61166012
"key": "user_password",
61176013
"value": "admin"
61186014
},
61196015
{
6120-
"id": "6ad763cc-a8bf-4d22-991a-c238fc49f493",
6016+
"id": "01ba2b0c-d215-4668-b983-0373208392ac",
61216017
"key": "user_firstname",
61226018
"value": "Foo"
61236019
},
61246020
{
6125-
"id": "972637f0-7bf1-431a-9912-149f48169d62",
6021+
"id": "81c91547-a32e-43cf-bbc8-1de311d06167",
61266022
"key": "user_lastname",
61276023
"value": "Bar"
61286024
},
61296025
{
6130-
"id": "d1129824-8c4e-4058-bc9b-77c1250e7842",
6026+
"id": "15b90c7f-49f4-44b1-93a2-89dcf3a4e30b",
61316027
"key": "debug_token",
61326028
"value": "xX69jules69Xx"
61336029
},
61346030
{
6135-
"id": "99e98331-5d4a-4a29-b221-b3265c3b7f69",
6031+
"id": "316d7b20-e02c-4fe2-907d-f597dba7ed21",
61366032
"key": "user_access_token",
61376033
"value": ""
61386034
},
61396035
{
6140-
"id": "cf67ac74-ba7e-432f-aa37-1248340bbcdc",
6036+
"id": "ce1be10e-2043-4111-9bbb-3849243cf231",
61416037
"key": "user_refresh_token",
61426038
"value": ""
61436039
},
61446040
{
6145-
"id": "d403b769-9895-48c2-ae87-2e5ca81f8a89",
6041+
"id": "da19835c-ed26-4cd7-b01e-efbc462f1d6a",
61466042
"key": "expired_token",
61476043
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1OTAyNDIyNjQsIm5iZiI6MTU5MDI0MjI2NCwianRpIjoiNTM0ZGI5NzQtOWE4Ni00MGViLWE1NDEtMDg3N2ZmNzQ3NDVhIiwiZXhwIjoxNTkwMjQyMzI0LCJpZGVudGl0eSI6eyJpZCI6NTEyLCJlbWFpbCI6ImZvb0BleGFtcGxlLm9yZyIsInVzZXJuYW1lIjoiYmFyIiwiaXNfb25saW5lIjp0cnVlLCJkYXRlX2xhc3RzZWVuIjoiU2F0LCAyMyBNYXkgMjAyMCAxMzo1Nzo0NCBHTVQifSwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MifQ.NTp2P0WNkXDwzuzrcNIQdeAfizQ57HQgkzBLSvY1yHU"
61486044
},
61496045
{
6150-
"id": "1ab8729c-be33-463f-bdb8-48970d0f5e6f",
6046+
"id": "6a910941-9868-4523-928a-e4b7d04c2b70",
61516047
"key": "user_orientation",
61526048
"value": "heterosexual"
61536049
},
61546050
{
6155-
"id": "0fb694c5-a37d-4888-bff8-51d394d1885f",
6051+
"id": "5e6ff849-cbfa-4ed2-b570-96a2ecd08d91",
61566052
"key": "user_bio",
61576053
"value": "Lorem Ipsum is the single greatest threat. We are not - we are not keeping up with other websites. Lorem Ipsum best not make any more threats to your website. It will be met with fire and fury like the world has never seen. Does everybody know that pig named Lorem Ipsum? An ‘extremely credible source’ has called my office and told me that Barack Obama’s placeholder text is a fraud."
61586054
},
61596055
{
6160-
"id": "506c11b7-28bc-40a4-8b16-bb3e4c4dfb82",
6056+
"id": "27cc8ed7-b8d0-42fd-9420-c40a8c089306",
61616057
"key": "user_gender",
61626058
"value": "male"
61636059
},
61646060
{
6165-
"id": "5af737dd-f310-4cf0-a2b4-74572b4b0b33",
6061+
"id": "1b9d648d-5e82-4358-a17b-9c3d69c3a34f",
61666062
"key": "user_birthdate",
61676063
"value": "06/04/1998"
61686064
},
61696065
{
6170-
"id": "e1facd09-f9b4-4581-a2f5-ae72bebac8bf",
6066+
"id": "e75cc79b-c2fa-4b0f-a6aa-9562de7d3145",
61716067
"key": "user_lat",
61726068
"value": "44.8404"
61736069
},
61746070
{
6175-
"id": "c25008f0-5501-4dd8-8068-901781f1c72b",
6071+
"id": "9223b247-1c80-4560-bd03-b3dc368073c2",
61766072
"key": "user_lng",
61776073
"value": "-0.5805"
61786074
},
61796075
{
6180-
"id": "bae8bc29-fdda-4426-bc70-32448fd6941d",
6076+
"id": "4668401a-3b23-40a6-91ca-bff424a3dcfc",
61816077
"key": "user_ip",
61826078
"value": "77.205.46.181"
61836079
}

0 commit comments

Comments
 (0)