diff --git a/test/app/view/app_test.dart b/test/app/view/app_test.dart index 1b9104630..01d95db21 100644 --- a/test/app/view/app_test.dart +++ b/test/app/view/app_test.dart @@ -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 { @@ -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),