mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
Merge branch 'master' into yhm/issue-731
This commit is contained in:
2
test/fixtures/routines/routine_logs.json
vendored
2
test/fixtures/routines/routine_logs.json
vendored
@@ -161,7 +161,7 @@
|
||||
"weight": "90.00",
|
||||
"weight_target": "80.00",
|
||||
"rir": "0.5",
|
||||
"rir_target": null,
|
||||
"rir_target": "0.5",
|
||||
"rest": 121,
|
||||
"rest_target": 120
|
||||
},
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 173 KiB After Width: | Height: | Size: 175 KiB |
@@ -86,6 +86,10 @@ void main() {
|
||||
testWidgets('Test the widgets on the gym mode screen', (WidgetTester tester) async {
|
||||
when(mockExerciseProvider.findExerciseById(1)).thenReturn(testExercises[0]);
|
||||
when(mockExerciseProvider.findExerciseById(6)).thenReturn(testExercises[5]);
|
||||
when(mockExerciseProvider.findExercisesByVariationId(
|
||||
null,
|
||||
exerciseIdToExclude: anyNamed('exerciseIdToExclude'),
|
||||
)).thenReturn([]);
|
||||
|
||||
await tester.pumpWidget(renderGymMode());
|
||||
await tester.tap(find.byType(TextButton));
|
||||
|
||||
@@ -32,7 +32,7 @@ void main() {
|
||||
routineId: 100,
|
||||
exerciseId: 1,
|
||||
repetitions: 10,
|
||||
rir: '1.5',
|
||||
rir: 1.5,
|
||||
repetitionsUnitId: 1,
|
||||
weight: 20,
|
||||
weightUnitId: 1,
|
||||
@@ -45,7 +45,7 @@ void main() {
|
||||
routineId: 42,
|
||||
exerciseId: 1,
|
||||
repetitions: 10,
|
||||
rir: '1.5',
|
||||
rir: 1.5,
|
||||
repetitionsUnitId: 1,
|
||||
weight: 20,
|
||||
weightUnitId: 1,
|
||||
|
||||
Reference in New Issue
Block a user