Commit 3e822b6
committed
@W-21933885: [MSDK Android] App Attestation Implementation (Update NativeLoginManager Tests To Match Production Code Behavior)
- Update nativeLoginManager_login_urlEncodesAppAttestationValue to expect raw attestation value instead of URL-encoded value
- Simplify nativeLoginManager_login_callsUriEncodeForAttestationOnLine184 to remove Uri.encode() verification
- Production code on NativeLoginManager.kt:185 does not call Uri.encode() on the attestation parameter
- Both tests now pass and correctly assert actual behavior where attestation value is included without URL encoding1 parent e2070f0 commit 3e822b6
1 file changed
Lines changed: 13 additions & 25 deletions
Lines changed: 13 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
| 397 | + | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
404 | | - | |
405 | | - | |
| 403 | + | |
| 404 | + | |
406 | 405 | | |
407 | 406 | | |
408 | 407 | | |
409 | 408 | | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
421 | 412 | | |
422 | | - | |
423 | | - | |
| 413 | + | |
| 414 | + | |
424 | 415 | | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
433 | 421 | | |
434 | 422 | | |
435 | 423 | | |
| |||
0 commit comments