Skip to content

Commit

Permalink
Fix tests again
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoMigner committed Sep 25, 2023
1 parent fd7dcb7 commit 165a2f4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/ui/views/dashboard_view_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -827,10 +827,14 @@ void main() {
});

testWidgets("Applets Card", (WidgetTester tester) async {
RemoteConfigServiceMock.stubGetBroadcastEnabled(
remoteConfigService as RemoteConfigServiceMock,
toReturn: false);
tester.binding.window.physicalSizeTestValue = const Size(800, 1410);

dashboard = {
PreferencesFlag.aboutUsCard: 0,
Map<PreferencesFlag, int> dashboard = {
PreferencesFlag.broadcastCard: 0,
PreferencesFlag.aboutUsCard: 1,
};

SettingsManagerMock.stubGetDashboard(
Expand Down

0 comments on commit 165a2f4

Please sign in to comment.