Gabriel Rohden

fix: Re-add missing return for getCases

@@ -13,7 +13,7 @@ class MockRepository implements IHomeRepository { @@ -13,7 +13,7 @@ class MockRepository implements IHomeRepository {
13 await Future.delayed(Duration(milliseconds: 100)); 13 await Future.delayed(Duration(milliseconds: 100));
14 14
15 if (Random().nextBool()) { 15 if (Random().nextBool()) {
16 - CasesModel( 16 + return CasesModel(
17 global: Global(totalDeaths: 100, totalConfirmed: 200), 17 global: Global(totalDeaths: 100, totalConfirmed: 200),
18 ); 18 );
19 } 19 }