Skip to content

Commit

Permalink
Fix test expectations for entries - 1.0.24 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonp2412 committed May 31, 2024
1 parent 418aba7 commit dd00553
Show file tree
Hide file tree
Showing 21 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/253.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Fix test expectations for entries
- Round calories + protein in entries
- Add missing favorite column
- Test unit conversions
- Change unit conversions
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/metadata/android/en-US/images/phoneScreenshots/8_en-US.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: fit_book
description: Track your calories - Completely offline!
publish_to: none
version: 1.0.23+24
version: 1.0.24+25
environment:
sdk: '>=3.3.3 <4.0.0'
dependencies:
Expand Down
8 changes: 4 additions & 4 deletions test/edit_entry_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,20 @@ void main() async {
await tester.pump();
await tester.tap(find.text('cups'));
await tester.pump();
expect(find.text('250.0'), findsOne);
var calories = findTextWidget(find.text('Calories'));
expect(calories.controller!.text, equals('250.00'));

await tester.tap(find.text('Unit'), warnIfMissed: false);
await tester.pump();
await tester.tap(find.text('tablespoons'));
await tester.pump();
var calories = findTextWidget(find.text('Calories'));
expect(calories.controller!.text, equals('15.0'));
expect(calories.controller!.text, equals('15.00'));

await tester.tap(find.text('Unit'), warnIfMissed: false);
await tester.pump();
await tester.tap(find.text('teaspoons'));
await tester.pump();
expect(calories.controller!.text, equals('5.0'));
expect(calories.controller!.text, equals('5.00'));

await db.close();
});
Expand Down

0 comments on commit dd00553

Please sign in to comment.