diff --git a/test/unit_tests/workout_provider_test.dart b/test/unit_tests/workout_provider_test.dart index f708703..1d5c84c 100644 --- a/test/unit_tests/workout_provider_test.dart +++ b/test/unit_tests/workout_provider_test.dart @@ -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); });