Skip to content

Commit

Permalink
action_sheet test: Remove unnecessary teardowns
Browse files Browse the repository at this point in the history
This teardown is already added in setupToMessageActionSheet, which
is called near the top of every test.
  • Loading branch information
chrisbobbe authored and gnprice committed Dec 1, 2023
1 parent 8529e14 commit 12029ee
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/widgets/action_sheet_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,6 @@ void main() {
return mock;
}

tearDown(() async {
testBinding.reset();
});

Future<void> tapShareButton(WidgetTester tester) async {
await tester.ensureVisible(find.byIcon(Icons.adaptive.share, skipOffstage: false));
await tester.tap(find.byIcon(Icons.adaptive.share));
Expand Down Expand Up @@ -306,10 +302,6 @@ void main() {
);
});

tearDown(() async {
testBinding.reset();
});

Future<void> tapCopyButton(WidgetTester tester) async {
await tester.ensureVisible(find.byIcon(Icons.copy, skipOffstage: false));
await tester.tap(find.byIcon(Icons.copy));
Expand Down

0 comments on commit 12029ee

Please sign in to comment.