Skip to content

Commit

Permalink
updated app_test.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
AyadLaouissi committed Apr 24, 2024
1 parent 9ac6676 commit b307f41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/app/view/app_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class _MockLeaderboardResource extends Mock implements LeaderboardResource {}

class _MockCrosswordResource extends Mock implements CrosswordResource {}

class _MockShareResource extends Mock implements ShareResource {}

class _MockHintResource extends Mock implements HintResource {}

class _MockPlayerBloc extends Mock implements PlayerBloc {
Expand Down Expand Up @@ -56,6 +58,7 @@ void main() {
.thenReturn(_MockLeaderboardResource());
when(() => apiClient.crosswordResource)
.thenReturn(_MockCrosswordResource());
when(() => apiClient.shareResource).thenReturn(_MockShareResource());
when(() => apiClient.hintResource).thenReturn(_MockHintResource());
when(
() => crosswordRepository.watchSectionFromPosition(0, 0),
Expand Down

0 comments on commit b307f41

Please sign in to comment.