Skip to content

Commit 67612bd

Browse files
chore: update expectLater to use callback (#4809)
1 parent ac6721e commit 67612bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/auth/amplify_auth_cognito/example/integration_test/custom_auth_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ void main() {
181181
'passes client metadata to signIn',
182182
(_) async {
183183
await expectLater(
184-
Amplify.Auth.signIn(
184+
() => Amplify.Auth.signIn(
185185
username: username,
186186
options: const SignInOptions(
187187
pluginOptions: CognitoSignInPluginOptions(
@@ -347,7 +347,7 @@ void main() {
347347

348348
asyncTest('passes client metadata to signIn', (_) async {
349349
await expectLater(
350-
Amplify.Auth.signIn(
350+
() => Amplify.Auth.signIn(
351351
username: username,
352352
password: password,
353353
options: const SignInOptions(

0 commit comments

Comments
 (0)