Skip to content

Commit 6094369

Browse files
Gabriel Barberini updated infinity-api-postman-collection
1 parent 4df5c40 commit 6094369

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

test/infinity-api-postman-collection.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@
932932
"response": []
933933
},
934934
{
935-
"name": "Update Flight Env",
935+
"name": "Update Flight Environment",
936936
"event": [
937937
{
938938
"listen": "test",
@@ -950,9 +950,6 @@
950950
"var apiRspn = pm.response.json();",
951951
"var flightRequest = JSON.parse(pm.request.body.raw);",
952952
"",
953-
"// reduce environment date for future assertion",
954-
"flightRequest.environment.date = flightRequest.environment.date.substring(0, flightRequest.environment.date.length - 7);",
955-
"",
956953
"// save new flight id",
957954
"pm.environment.set('flight_id', apiRspn.new_flight_id) ",
958955
"",
@@ -1031,9 +1028,6 @@
10311028
"var apiRspn = pm.response.json();",
10321029
"var flightRequest = JSON.parse(pm.request.body.raw);",
10331030
"",
1034-
"// reduce environment date for future assertion",
1035-
"flightRequest.environment.date = flightRequest.environment.date.substring(0, flightRequest.environment.date.length - 7);",
1036-
"",
10371031
"// save new flight id",
10381032
"pm.environment.set('flight_id', apiRspn.new_flight_id) ",
10391033
"",

0 commit comments

Comments
 (0)