Skip to content

Commit

Permalink
Merge pull request #103 from HansMuller/update_tests_m3
Browse files Browse the repository at this point in the history
Updated widget_test and enhanced_composited_transform_test: wired down Material2 dependency
  • Loading branch information
fzyzcjy authored Jun 14, 2023
2 parents c29c491 + a778596 commit d43d283
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/enhanced_composited_transform_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ void main() {
PointerDownEvent? lastPointerDownEvent;

await tester.pumpWidget(MaterialApp(
theme: ThemeData(useMaterial3: false),
home: Scaffold(
body: Container(
key: containerKey,
Expand Down
1 change: 1 addition & 0 deletions test/widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2139,6 +2139,7 @@ class Boilerplate extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(useMaterial3: false),
debugShowCheckedModeBanner: false,
home: Scaffold(
body: child,
Expand Down

0 comments on commit d43d283

Please sign in to comment.