@@ -14,7 +14,7 @@ void main() {
14
14
});
15
15
16
16
test ('Testing fromResponse' , () async {
17
- ( HttpResponse ? , Duration ? , String ? ) ? responseRec = await request (
17
+ var responseRec = await sendHttpRequest (
18
18
requestModelGet1.id,
19
19
requestModelGet1.apiType,
20
20
requestModelGet1.httpRequestModel! ,
@@ -32,7 +32,7 @@ void main() {
32
32
});
33
33
34
34
test ('Testing fromResponse for contentType not Json' , () async {
35
- ( HttpResponse ? , Duration ? , String ? ) ? responseRec = await request (
35
+ var responseRec = await sendHttpRequest (
36
36
requestModelGet13.id,
37
37
requestModelGet1.apiType,
38
38
requestModelGet13.httpRequestModel! ,
@@ -48,7 +48,7 @@ void main() {
48
48
});
49
49
50
50
test ('Testing fromResponse for Bad SSL with certificate check' , () async {
51
- ( HttpResponse ? , Duration ? , String ? ) ? responseRec = await request (
51
+ var responseRec = await sendHttpRequest (
52
52
requestModelGetBadSSL.id,
53
53
requestModelGet1.apiType,
54
54
requestModelGetBadSSL.httpRequestModel! ,
@@ -60,7 +60,7 @@ void main() {
60
60
});
61
61
62
62
test ('Testing fromResponse for Bad SSL with no certificate check' , () async {
63
- ( HttpResponse ? , Duration ? , String ? ) ? responseRec = await request (
63
+ var responseRec = await sendHttpRequest (
64
64
requestModelGetBadSSL.id,
65
65
requestModelGet1.apiType,
66
66
requestModelGetBadSSL.httpRequestModel! ,
0 commit comments