Fix RequestModel test

This commit is contained in:
Ankit Mahato
2023-04-24 08:54:54 +05:30
parent adfd049c56
commit e44be1b62b
2 changed files with 6 additions and 5 deletions

View File

@ -109,11 +109,11 @@ void main() {
test('Testing toJson', () {
expect(requestModelDup.toJson(), requestModelAsJson);
});
/*
test('Testing fromJson', () {
expect(RequestModel.fromJson(requestModelDup.toJson()), requestModelDup);
final modelFromJson = RequestModel.fromJson(requestModelAsJson);
expect(modelFromJson, requestModelDup);
});
*/
final requestModeDupString = [
"Request Id: 1",