adjust workout provider tests

main
Julian Gegner 2023-03-07 00:06:07 +01:00
parent 8f4ae946de
commit ebd768057f
1 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ void main() {
expect(workoutProvider.motivationBefore, 50);
expect(workoutProvider.motivationAfter, 50);
expect(workoutProvider.currentPhase, WorkoutPhases.warmUp);
expect(workoutProvider.currentPhaseDuration, const Duration(seconds: 5));
expect(workoutProvider.currentPhaseDuration, const Duration(minutes: 5));
expect(workoutProvider.isPhaseComplete, false);
expect(workoutProvider.currentPhaseColor, Colors.green);
expect(workoutProvider.currentPhaseTitle, 'Warm Up');
@ -37,7 +37,7 @@ void main() {
workoutProvider.nextPhase();
expect(workoutProvider.currentPhase, WorkoutPhases.highIntensity);
expect(workoutProvider.currentPhaseDuration, const Duration(seconds: 4));
expect(workoutProvider.currentPhaseDuration, const Duration(minutes: 4));
expect(workoutProvider.isPhaseComplete, false);
expect(workoutProvider.currentPhaseColor, Colors.red);
expect(workoutProvider.currentPhaseTitle, 'High Intensity');
@ -49,7 +49,7 @@ void main() {
expect(workoutProvider.isWorkoutStarted, true);
expect(workoutProvider.isWorkoutComplete, false);
expect(workoutProvider.currentPhase, WorkoutPhases.warmUp);
expect(workoutProvider.currentPhaseDuration, const Duration(seconds: 5));
expect(workoutProvider.currentPhaseDuration, const Duration(minutes: 5));
expect(workoutProvider.isPhaseComplete, false);
});