From e44957459cadbd905c42a85d268dee5afa304636 Mon Sep 17 00:00:00 2001 From: ivirtex Date: Sat, 4 Feb 2023 23:32:52 +0100 Subject: [PATCH] Delete doubled test --- packages/flutter/test/cupertino/app_test.dart | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/packages/flutter/test/cupertino/app_test.dart b/packages/flutter/test/cupertino/app_test.dart index bc88c84997c2..fcd5b007ab4b 100644 --- a/packages/flutter/test/cupertino/app_test.dart +++ b/packages/flutter/test/cupertino/app_test.dart @@ -424,33 +424,6 @@ void main() { debugBrightnessOverride = null; }); - - testWidgets('Properties of CupertinoThemeData are effective', (WidgetTester tester) async { - await tester.pumpWidget( - CupertinoApp( - theme: const CupertinoThemeData( - primaryColor: CupertinoColors.activeOrange, - ), - home: CupertinoPageScaffold( - child: Builder( - builder: (BuildContext context) { - return Text( - 'Primary color', - style: TextStyle( - color: CupertinoTheme.of(context).primaryColor, - ), - ); - }, - ), - ), - ), - ); - - final RenderParagraph paragraph = tester.renderObject(find.text('Primary color')); - final CupertinoDynamicColor textColor = paragraph.text.style!.color! as CupertinoDynamicColor; - - expect(textColor, CupertinoColors.activeOrange); - }); } class MockScrollBehavior extends ScrollBehavior {