mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
Fix test
This commit is contained in:
@@ -84,8 +84,8 @@ void main() {
|
|||||||
await tester.pumpWidget(createWeightScreen());
|
await tester.pumpWidget(createWeightScreen());
|
||||||
|
|
||||||
// One in the entries list, one in the chart
|
// One in the entries list, one in the chart
|
||||||
expect(find.text('1/1/2021'), findsNWidgets(2));
|
expect(find.text('1/1/2021'), findsOneWidget);
|
||||||
expect(find.text('1/10/2021'), findsNWidgets(2));
|
expect(find.text('1/10/2021'), findsOneWidget);
|
||||||
});
|
});
|
||||||
|
|
||||||
testWidgets('Tests the localization of dates - DE', (WidgetTester tester) async {
|
testWidgets('Tests the localization of dates - DE', (WidgetTester tester) async {
|
||||||
|
|||||||
Reference in New Issue
Block a user