diff --git a/test/presentation/home/widgets/password_modal_test.dart b/test/presentation/home/widgets/password_modal_test.dart index 7a7155c6..0a8571cf 100644 --- a/test/presentation/home/widgets/password_modal_test.dart +++ b/test/presentation/home/widgets/password_modal_test.dart @@ -166,7 +166,7 @@ void main() { await tester.pumpAndSettle(); final capturedRoutes = - verify(() => stackRouter.push(captureAny())).captured; + verify(() => stackRouter.replace(captureAny())).captured; expect(capturedRoutes.length, 1); expect(capturedRoutes.first, isA());