Skip to content

Commit

Permalink
fix: Failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Isaac Obella <[email protected]>
  • Loading branch information
wizlif committed Mar 7, 2023
1 parent 0c8e724 commit 25f89ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/presentation/home/widgets/password_modal_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<CrowdActionDetailsRoute>());

Expand Down

0 comments on commit 25f89ae

Please sign in to comment.