Skip to content

Commit 221cf61

Browse files
authored
chore(auth): fix fetch current device test (#5297)
1 parent db2258c commit 221cf61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/auth/amplify_auth_cognito_test/test/plugin/fetch_current_device_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ void main() {
1515
AmplifyLogger().logLevel = LogLevel.verbose;
1616

1717
final userPoolKeys = CognitoUserPoolKeys(userPoolConfig.appClientId);
18-
final identityPoolKeys = CognitoIdentityPoolKeys(identityPoolConfig.poolId);
18+
final identityPoolKeys =
19+
CognitoIdentityPoolKeys(mockConfig.auth!.identityPoolId!);
1920
final testAuthRepo = AmplifyAuthProviderRepository();
2021
final mockDevice = DeviceType(deviceKey: deviceKey);
2122
final mockDeviceResponse = GetDeviceResponse(device: mockDevice);

0 commit comments

Comments
 (0)