Skip to content

Commit

Permalink
Fix UTs and Freeze PHPUnit version for UTs
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsin-plivo committed Apr 20, 2023
1 parent 950cf0f commit 272a46c
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 21 deletions.
3 changes: 2 additions & 1 deletion tests/Mocks/messageGetResponse.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
"powerpack_id": "15c01cc2-4b9f-4d3b-bd15-3c4b38984cc4",
"requester_ip": "192.168.1.1",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
}
60 changes: 40 additions & 20 deletions tests/Mocks/messageListResponse.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"units": 1,
"requester_ip": "192.168.1.1",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": null,
Expand All @@ -39,7 +40,8 @@
"units": 1,
"requester_ip": "192.168.1.2",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": null,
Expand All @@ -56,7 +58,8 @@
"units": 1,
"requester_ip": "192.168.1.3",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": null,
Expand All @@ -73,7 +76,8 @@
"units": 1,
"requester_ip": "192.168.1.4",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": null,
Expand All @@ -90,7 +94,8 @@
"units": 1,
"requester_ip": "192.168.1.5",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": null,
Expand All @@ -107,7 +112,8 @@
"units": 1,
"requester_ip": "192.168.1.6",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": null,
Expand All @@ -124,7 +130,8 @@
"units": 1,
"requester_ip": "192.168.1.7",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": null,
Expand All @@ -141,7 +148,8 @@
"units": 1,
"requester_ip": "192.168.1.8",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": "000",
Expand All @@ -158,7 +166,8 @@
"units": 1,
"requester_ip": "192.168.1.9",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": null,
Expand All @@ -175,7 +184,8 @@
"units": 1,
"requester_ip": "192.168.1.10",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": "000",
Expand All @@ -192,7 +202,8 @@
"units": 1,
"requester_ip": "192.168.1.11",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": null,
Expand All @@ -209,7 +220,8 @@
"units": 1,
"requester_ip": "192.168.1.12",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": "000",
Expand All @@ -226,7 +238,8 @@
"units": 1,
"requester_ip": "192.168.1.13",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": null,
Expand All @@ -243,7 +256,8 @@
"units": 1,
"requester_ip": "192.168.1.14",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": "000",
Expand All @@ -260,7 +274,8 @@
"units": 1,
"requester_ip": "192.168.1.15",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": null,
Expand All @@ -277,7 +292,8 @@
"units": 1,
"requester_ip": "192.168.1.16",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": "000",
Expand All @@ -294,7 +310,8 @@
"units": 1,
"requester_ip": "192.168.1.17",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": "000",
Expand All @@ -311,7 +328,8 @@
"units": 1,
"requester_ip": "192.168.1.18",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": "000",
Expand All @@ -328,7 +346,8 @@
"units": 1,
"requester_ip": "192.168.1.19",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
},
{
"error_code": "000",
Expand All @@ -345,7 +364,8 @@
"units": 1,
"requester_ip": "192.168.1.20",
"is_domestic": false,
"destination_country_iso2": "IN"
"destination_country_iso2": "IN",
"replaced_sender": "INSID"
}
]
}

0 comments on commit 272a46c

Please sign in to comment.