Skip to content

Commit

Permalink
fix(app): adapt drug tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Aug 29, 2024
1 parent 9db4837 commit 29965dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/integration_test/drugs_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ void main() {

// test that drug activity can be set
final activitySelection = tester.firstWidget(
find.byType(DropdownButton<bool>)
) as DropdownButton<bool>;
find.byType(Switch)
) as Switch;
expect(activitySelection.onChanged, isNotNull);

// test tooltips
Expand Down Expand Up @@ -208,8 +208,8 @@ void main() {
);

final activitySelection = tester.firstWidget(
find.byType(DropdownButton<bool>)
) as DropdownButton<bool>;
find.byType(Switch)
) as Switch;
expect(activitySelection.onChanged, isNull);
});
});
Expand Down

0 comments on commit 29965dc

Please sign in to comment.