Skip to content

Commit b726000

Browse files
committed
Update response_model_test.dart
1 parent dc3eded commit b726000

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/models/response_model_test.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ void main() {
1414
});
1515

1616
test('Testing fromResponse', () async {
17-
(HttpResponse?, Duration?, String?)? responseRec = await request(
17+
var responseRec = await sendHttpRequest(
1818
requestModelGet1.id,
1919
requestModelGet1.apiType,
2020
requestModelGet1.httpRequestModel!,
@@ -32,7 +32,7 @@ void main() {
3232
});
3333

3434
test('Testing fromResponse for contentType not Json', () async {
35-
(HttpResponse?, Duration?, String?)? responseRec = await request(
35+
var responseRec = await sendHttpRequest(
3636
requestModelGet13.id,
3737
requestModelGet1.apiType,
3838
requestModelGet13.httpRequestModel!,
@@ -48,7 +48,7 @@ void main() {
4848
});
4949

5050
test('Testing fromResponse for Bad SSL with certificate check', () async {
51-
(HttpResponse?, Duration?, String?)? responseRec = await request(
51+
var responseRec = await sendHttpRequest(
5252
requestModelGetBadSSL.id,
5353
requestModelGet1.apiType,
5454
requestModelGetBadSSL.httpRequestModel!,
@@ -60,7 +60,7 @@ void main() {
6060
});
6161

6262
test('Testing fromResponse for Bad SSL with no certificate check', () async {
63-
(HttpResponse?, Duration?, String?)? responseRec = await request(
63+
var responseRec = await sendHttpRequest(
6464
requestModelGetBadSSL.id,
6565
requestModelGet1.apiType,
6666
requestModelGetBadSSL.httpRequestModel!,

0 commit comments

Comments
 (0)