mirror of
https://github.com/foss42/apidash.git
synced 2025-12-10 15:23:19 +08:00
Update response_model_test.dart
This commit is contained in:
@@ -58,7 +58,7 @@ void main() {
|
||||
final responseData = responseModel.fromResponse(response: responseRec.$1!);
|
||||
expect(responseData.statusCode, 200);
|
||||
expect(responseData.body, '{"data":"i love flutter"}');
|
||||
expect(responseData.contentType, 'application/json; charset=utf-8');
|
||||
expect(responseData.contentType, 'application/json');
|
||||
expect(responseData.requestHeaders?['content-type'], 'application/json');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user