Skip to content

Commit 8320499

Browse files
committed
chore(ui): fix unit tests
1 parent 339835d commit 8320499

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/firebase_ui_auth/test/flows/phone_auth_flow_test.dart

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,14 @@ void main() {
319319
ctrl.acceptPhoneNumber('+123456789');
320320

321321
final invocation = verify(
322-
provider.sendVerificationCode(phoneNumber: captureAny),
323-
);
322+
provider.sendVerificationCode(
323+
phoneNumber: captureAnyNamed('phoneNumber'),
324+
action: anyNamed('action'),
325+
forceResendingToken: anyNamed('forceResendingToken'),
326+
hint: anyNamed('hint'),
327+
multiFactorSession: anyNamed('multiFactorSession'),
328+
),
329+
)..called(1);
324330

325331
expect(invocation.callCount, 1);
326332
expect(invocation.captured, ['+123456789']);

0 commit comments

Comments
 (0)