Commit d2998a3
committed
@W-21933885: [MSDK Android] App Attestation Implementation (Add additionalOauthKeys Stub To TokenMigrationActivityTest)
The Firebase Test Lab failure in onCreate_withNullFrontDoorUrl_callsErrorCallbackAndFinishes was caused by missing stub for getAdditionalOauthKeys(). This method is called during UserAccountManager.buildUserAccount() when the lifecycle triggers getCurrentUser() during onResume().
Changes:
- Added stub for additionalOauthKeys property returning emptyList() (line 131)
- This prevents MockKException when the method is called during user account building
The stub returns an empty list since no additional OAuth keys are needed for these test scenarios.1 parent 15a9b04 commit d2998a3
1 file changed
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| |||
0 commit comments